Skip to contentSkip to conversation

more 2.6.x scsi fallout

DISCUSSION David S. Miller 1 participant 1 message Jun 19, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

The drivers/scsi/ch.c code calls functions which do not exist.

drivers/scsi/ch.c:945: warning: implicit declaration of function class_device_create' drivers/scsi/ch.c:975: warning: implicit declaration of function class_device_destroy' drivers/scsi/ch.c:989: warning: implicit declaration of function class_create' drivers/scsi/ch.c:989: warning: assignment makes pointer from integer without a cast drivers/scsi/ch.c:1008: warning: implicit declaration of function class_destroy'

bash$ find . -type f -name "*.[ch]" | xargs egrep class_destroy
./drivers/scsi/ch.c: class_destroy(ch_sysfs_class);
./drivers/scsi/ch.c: class_destroy(ch_sysfs_class);
./security/selinux/ss/policydb.c:static int class_destroy(void *key, void *datum, void *p)
./security/selinux/ss/policydb.c: class_destroy,
./security/selinux/ss/policydb.c: class_destroy(key, cladatum, NULL);