Messages in this thread |  | | Date | Wed, 28 Nov 2001 17:39:33 +0100 | From | Martin Dalecki <> | Subject | Re: 2.5.1-pre2 does not compile |
| |
Christoph Hellwig wrote: > > On Wed, Nov 28, 2001 at 09:26:00AM -0700, Andreas Dilger wrote: > > What would be nice in the case of drivers that don't use the new error > > handling code is to add something like: > > > > #warning "Uses obsolete SCSI error code, see Documentation/2.5/scsi-error.txt" > > > > for a hint as to the reason why it no longer compiles, and a short guide > > on how to update the drivers. > > I already thought about that - as the old error handling code is selected > by setting a member in a struct to '1' I don't see any easy way to do so... > > Christoph
Please note that this selection is static with regard to the driver. It only happens in the initialization code for the driver! The #warning doesn't have to at the same place where the filed in the struct was. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |