[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <50A9D2F9.20703@enforta.com>
Date: Mon, 19 Nov 2012 10:34:33 +0400
From: "Volodin Arkady \"Enforta\"" <a.volodin@...orta.com>
To: linux-kernel@...r.kernel.org
Subject: 3.2.34 kernel bug: some SCSI definitions missing
Hi there!
Looks like it is bug in scsi.h with missing definitions in 3.2.34.
I compared scsi.h with one in 3.2.29 kernel and there are lots of
definitions missing in 3.2.34:
18014 bytes in old file and only 7037 in new one.
CC block/scsi_ioctl.o
block/scsi_ioctl.c:1:0: warning: SSE instruction set disabled, using 387
arithmetics
block/scsi_ioctl.c: In function 'blk_set_cmd_filter_defaults':
block/scsi_ioctl.c:124:12: error: 'READ_16' undeclared (first use in
this function)
block/scsi_ioctl.c:124:12: note: each undeclared identifier is reported
only once for each function it appears in
block/scsi_ioctl.c:135:12: error: 'VERIFY_16' undeclared (first use in
this function)
block/scsi_ioctl.c:136:12: error: 'REPORT_LUNS' undeclared (first use in
this function)
block/scsi_ioctl.c:137:12: error: 'SERVICE_ACTION_IN' undeclared (first
use in this function)
block/scsi_ioctl.c:139:12: error: 'MAINTENANCE_IN' undeclared (first use
in this function)
block/scsi_ioctl.c:174:12: error: 'WRITE_16' undeclared (first use in
this function)
block/scsi_ioctl.c: In function 'blk_complete_sghdr_rq':
block/scsi_ioctl.c:257:2: error: implicit declaration of function
'status_byte'
block/scsi_ioctl.c:258:2: error: implicit declaration of function 'msg_byte'
block/scsi_ioctl.c:259:2: error: implicit declaration of function
'host_byte'
block/scsi_ioctl.c:260:2: error: implicit declaration of function
'driver_byte'
block/scsi_ioctl.c: In function 'sg_scsi_ioctl':
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:443:2: warning: type defaults to 'int' in type name
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:445:2: warning: type defaults to 'int' in type name
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:6: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:449:2: warning: type defaults to 'int' in type name
block/scsi_ioctl.c:462:2: error: implicit declaration of function
'COMMAND_SIZE'
block/scsi_ioctl.c:469:33: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:472:42: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:485:17: error: 'FORMAT_UNIT_TIMEOUT' undeclared
(first use in this function)
block/scsi_ioctl.c:489:17: error: 'START_STOP_TIMEOUT' undeclared (first
use in this function)
block/scsi_ioctl.c:492:17: error: 'MOVE_MEDIUM_TIMEOUT' undeclared
(first use in this function)
block/scsi_ioctl.c:495:17: error: 'READ_ELEMENT_STATUS_TIMEOUT'
undeclared (first use in this function)
block/scsi_ioctl.c:498:17: error: 'READ_DEFECT_DATA_TIMEOUT' undeclared
(first use in this function)
block/scsi_ioctl.c:507:9: error: 'DRIVER_ERROR' undeclared (first use in
this function)
block/scsi_ioctl.c:524:24: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c:528:23: error: dereferencing pointer to incomplete type
block/scsi_ioctl.c: In function 'scsi_cmd_ioctl':
block/scsi_ioctl.c:629:28: error: 'SG_DXFER_UNKNOWN' undeclared (first
use in this function)
block/scsi_ioctl.c:647:12: warning: assignment from incompatible pointer
type
block/scsi_ioctl.c: In function 'scsi_verify_blk_ioctl':
block/scsi_ioctl.c:705:7: error: 'SCSI_IOCTL_GET_PCI' undeclared (first
use in this function)
make[1]: *** [block/scsi_ioctl.o] Error 1
make: *** [block] Error 2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists