Script started on Fri 21 Feb 2014 01:49:21 PM CET scan-build: Using '/usr/bin/clang' for static analysis make all-recursive make[1]: Entering directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[2]: Entering directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[3]: Entering directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[3]: Leaving directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' Updating ../doc/version.texi MAKEINFO ../doc/mach.info GEN vm/memory_object_user.user.defs.c GEN vm/memory_object_default.user.defs.c GEN device/device_reply.user.defs.c GEN device/memory_object_reply.user.defs.c GEN device/device.server.defs.c GEN device/device_pager.server.defs.c GEN ipc/mach_port.server.defs.c GEN kern/mach.server.defs.c GEN kern/mach4.server.defs.c GEN kern/gnumach.server.defs.c GEN kern/mach_debug.server.defs.c GEN kern/mach_host.server.defs.c GEN i386/i386/mach_i386.server.defs.c CC vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o In file included from vm/memory_object_user.user.defs.c:28: ../include/mach/memory_object.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from vm/memory_object_user.user.defs.c:28: In file included from ../include/mach/memory_object.defs:42: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG vm/memory_object_user.user.h CC vm/lib_dep_tr_for_defs_a-memory_object_default.user.defs.o In file included from vm/memory_object_default.user.defs.c:28: ../include/mach/memory_object_default.defs:34:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object_default.defs:36:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from vm/memory_object_default.user.defs.c:28: In file included from ../include/mach/memory_object_default.defs:40: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG vm/memory_object_default.user.h CC device/lib_dep_tr_for_defs_a-device_reply.user.defs.o In file included from device/device_reply.user.defs.c:27: ../include/device/device_reply.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/device/device_reply.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; In file included from device/device_reply.user.defs.c:27: In file included from ../include/device/device_reply.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device_reply.user.h CC device/lib_dep_tr_for_defs_a-memory_object_reply.user.defs.o In file included from device/memory_object_reply.user.defs.c:27: ../include/mach/mach.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach.defs:35:14: error: expected ';' after top level declarator KernelUser ^ ; ../include/mach/mach.defs:43:1: error: unknown type name 'userprefix' userprefix r_; ^ In file included from device/memory_object_reply.user.defs.c:27: In file included from ../include/mach/mach.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/memory_object_reply.user.h CC device/lib_dep_tr_for_defs_a-device.server.defs.o In file included from device/device.server.defs.c:27: ../include/device/device.defs:35:1: error: unknown type name 'subsystem' subsystem ^ ../include/device/device.defs:37:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from device/device.server.defs.c:27: In file included from ../include/device/device.defs:41: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device.server.h CC device/lib_dep_tr_for_defs_a-device_pager.server.defs.o In file included from device/device_pager.server.defs.c:44: ../include/mach/memory_object.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/memory_object.defs:38:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from device/device_pager.server.defs.c:44: In file included from ../include/mach/memory_object.defs:42: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG device/device_pager.server.h CC ipc/lib_dep_tr_for_defs_a-mach_port.server.defs.o In file included from ipc/mach_port.server.defs.c:27: ../include/mach/mach_port.defs:38:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach_port.defs:40:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from ipc/mach_port.server.defs.c:27: In file included from ../include/mach/mach_port.defs:44: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG ipc/mach_port.server.h CC kern/lib_dep_tr_for_defs_a-mach.server.defs.o In file included from kern/mach.server.defs.c:40: ../include/mach/mach.defs:33:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach.defs:38:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach.server.defs.c:40: In file included from ../include/mach/mach.defs:46: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach.server.h CC kern/lib_dep_tr_for_defs_a-mach4.server.defs.o In file included from kern/mach4.server.defs.c:32: ../include/mach/mach4.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach4.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach4.server.defs.c:32: In file included from ../include/mach/mach4.defs:39: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach4.server.h CC kern/lib_dep_tr_for_defs_a-gnumach.server.defs.o In file included from kern/gnumach.server.defs.c:23: ../include/mach/gnumach.defs:19:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/gnumach.defs:21:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/gnumach.server.defs.c:23: In file included from ../include/mach/gnumach.defs:28: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/gnumach.server.h CC kern/lib_dep_tr_for_defs_a-mach_debug.server.defs.o In file included from kern/mach_debug.server.defs.c:26: ../include/mach_debug/mach_debug.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach_debug/mach_debug.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach_debug.server.defs.c:26: In file included from ../include/mach_debug/mach_debug.defs:36: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach_debug.server.h CC kern/lib_dep_tr_for_defs_a-mach_host.server.defs.o In file included from kern/mach_host.server.defs.c:37: ../include/mach/mach_host.defs:37:1: error: unknown type name 'subsystem' subsystem ^ ../include/mach/mach_host.defs:39:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from kern/mach_host.server.defs.c:37: In file included from ../include/mach/mach_host.defs:47: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG kern/mach_host.server.h CC i386/i386/lib_dep_tr_for_defs_a-mach_i386.server.defs.o In file included from i386/i386/mach_i386.server.defs.c:27: ./mach/machine/mach_i386.defs:30:1: error: unknown type name 'subsystem' subsystem ^ ./mach/machine/mach_i386.defs:32:16: error: expected ';' after top level declarator KernelServer ^ ; In file included from i386/i386/mach_i386.server.defs.c:27: In file included from ./mach/machine/mach_i386.defs:36: ../include/mach/std_types.defs:33:1: error: unknown type name 'type' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:33:6: error: expected identifier or '(' type char = MACH_MSG_TYPE_CHAR; ^ ../include/mach/std_types.defs:34:1: error: unknown type name 'type' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:34:6: error: expected identifier or '(' type short = MACH_MSG_TYPE_INTEGER_16; ^ ../include/mach/std_types.defs:35:1: error: unknown type name 'type' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:35:6: error: expected identifier or '(' type int = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:1: error: unknown type name 'type' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:36:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type int32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:37:1: error: unknown type name 'type' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:37:14: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_64' type int64 = MACH_MSG_TYPE_INTEGER_64; ^ ../include/mach/std_types.defs:38:1: error: unknown type name 'type' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:38:18: error: use of undeclared identifier 'MACH_MSG_TYPE_BOOLEAN' type boolean_t = MACH_MSG_TYPE_BOOLEAN; ^ ../include/mach/std_types.defs:39:1: error: unknown type name 'type' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:39:6: error: expected identifier or '(' type unsigned = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:1: error: unknown type name 'type' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:40:19: error: use of undeclared identifier 'MACH_MSG_TYPE_INTEGER_32' type unsigned32 = MACH_MSG_TYPE_INTEGER_32; ^ ../include/mach/std_types.defs:41:1: error: unknown type name 'type' type unsigned64 = MACH_MSG_TYPE_INTEGER_64; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. MIG i386/i386/mach_i386.server.h AWK i386/i386/i386asm.symc CC i386/i386/i386asm.symc.o GEN i386/i386/i386asm.h CC ddb/db_access.o CC ddb/db_aout.o CC ddb/db_break.o CC ddb/db_command.o ../ddb/db_command.c:271:6: warning: Function call argument is an uninitialized value (*cmd->fcn)(addr, have_addr, count, modif); ^ ~~~~ 1 warning generated. CC ddb/db_cond.o ../ddb/db_cond.c:80:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ ../ddb/db_cond.c:90:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ ../ddb/db_cond.c:93:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(FALSE); ^ ../ddb/db_cond.c:101:6: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(db_exec_cmd_nest(0, 0)); ^ ../ddb/db_cond.c:103:2: warning: Address of stack memory associated with local variable 'db_jmpbuf' is still referred to by the global variable 'db_recover' upon returning to the caller. This will be a dangling reference return(TRUE); ^ 5 warnings generated. CC ddb/db_examine.o CC ddb/db_expr.o CC ddb/db_ext_symtab.o CC ddb/db_input.o CC ddb/db_lex.o CC ddb/db_macro.o CC ddb/db_mp.o CC ddb/db_output.o CC ddb/db_print.o CC ddb/db_run.o CC ddb/db_sym.o ../ddb/db_sym.c:417:2: warning: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'stab') X_db_symbol_values(stab, sym, &name, &value); ^ ~~~~ ../ddb/db_sym.h:231:42: note: expanded from macro 'X_db_symbol_values' #define X_db_symbol_values(s,p,n,v) x_db[(s)->type].symbol_values(s,p,n,v) ^ 1 warning generated. CC ddb/db_task_thread.o CC ddb/db_trap.o CC ddb/db_variables.o CC ddb/db_watch.o CC ddb/db_write_cmd.o CC ipc/ipc_entry.o CC ipc/ipc_hash.o CC ipc/ipc_init.o CC ipc/ipc_kmsg.o CC ipc/ipc_marequest.o CC ipc/ipc_mqueue.o CC ipc/ipc_notify.o CC ipc/ipc_object.o CC ipc/ipc_port.o CC ipc/ipc_pset.o CC ipc/ipc_right.o CC ipc/ipc_space.o CC ipc/ipc_splay.o CC ipc/ipc_table.o CC ipc/ipc_target.o CC ipc/ipc_thread.o CC ipc/mach_msg.o CC ipc/mach_port.o CC ipc/mach_rpc.o CC ipc/mach_debug.o CC kern/act.o CC kern/ast.o CC kern/bootstrap.o CC kern/counters.o CC kern/debug.o CC kern/eventcount.o CC kern/exception.o CC kern/host.o CC kern/ipc_host.o CC kern/ipc_kobject.o CC kern/ipc_mig.o CC kern/ipc_sched.o CC kern/ipc_tt.o CC kern/lock.o CC kern/lock_mon.o CC kern/mach_clock.o CC kern/mach_factor.o CC kern/machine.o CC kern/pc_sample.o CC kern/printf.o CC kern/priority.o CC kern/processor.o ../kern/processor.c:920:15: warning: Array access (from variable 'threads') results in a null pointer dereference threads[i] = thread; ~~~~~~~ ^ 1 warning generated. CC kern/profile.o CC kern/queue.o CC kern/rbtree.o ../kern/rbtree.c:95:21: warning: Access to field 'parent' results in a dereference of a null pointer (loaded from variable 'node') node->parent = (node->parent & RBTREE_PARENT_MASK) | color; ^~~~ ../kern/rbtree.c:200:13: warning: Value stored to 'node' is never read node = parent; ^ ~~~~~~ 2 warnings generated. CC kern/slab.o CC kern/sched_prim.o ../kern/sched_prim.c: In function ‘sched_init’: ../kern/sched_prim.c:153:33: warning: assignment from incompatible pointer type [enabled by default] recompute_priorities_timer.fcn = recompute_priorities; ^ CC kern/startup.o CC kern/strings.o CC kern/syscall_emulation.o ../kern/syscall_emulation.c:404:2: warning: Null pointer argument in call to memory copy function memcpy((void *)addr, ^ ~~~~~~~~~~~~ 1 warning generated. CC kern/syscall_subr.o CC kern/syscall_sw.o CC kern/task.o ../kern/task.c:580:14: warning: Array access (from variable 'threads') results in a null pointer dereference threads[i] = thread; ~~~~~~~ ^ ../kern/task.c:1114:17: warning: Access to field 'map' results in a dereference of a null pointer (loaded from variable 'task') pmap_collect(task->map->pmap); ^~~~ 2 warnings generated. CC kern/thread.o ../kern/thread.c:1674:2: warning: Function call argument is an uninitialized value thread_deallocate(thread); ^ ~~~~~~ 1 warning generated. CC kern/thread_swap.o CC kern/time_stamp.o CC kern/timer.o CC kern/xpr.o ../kern/xpr.c:156:2: warning: Assigned value is garbage or undefined spl_t s = s; ^ ~ 1 warning generated. CC kern/elf-load.o CC kern/boot_script.o CC util/putchar.o CC util/puts.o CC util/atoi.o CC vm/memory_object_proxy.o CC vm/memory_object.o ../vm/memory_object.c:145:10: warning: Dereference of null pointer assert(data_copy->cpy_npages > 0); ^~~~~~~~~~~~~~~~~~~~~ ../kern/assert.h:43:8: note: expanded from macro 'assert' if (!(ex)) \ ^ ../vm/memory_object.c:277:6: warning: Dereference of null pointer if (vm_map_copy_has_cont(data_copy)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_map.h:311:6: note: expanded from macro 'vm_map_copy_has_cont' (((copy)->cpy_cont) != (kern_return_t (*)()) 0) ^~~~~~~~~~~~~~~~~~ 2 warnings generated. CC vm/vm_debug.o CC vm/vm_external.o CC vm/vm_fault.o ../vm/vm_fault.c:252:2: warning: Access to field 'task' results in a dereference of a null pointer current_task()->faults++; ^~~~~~~~~~~~~~ ../kern/thread.h:388:25: note: expanded from macro 'current_task' #define current_task() (current_thread()->task) ^~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_fault.c:552:6: warning: Access to field 'task' results in a dereference of a null pointer current_task()->reactivations++; ^~~~~~~~~~~~~~ ../kern/thread.h:388:25: note: expanded from macro 'current_task' #define current_task() (current_thread()->task) ^~~~~~~~~~~~~~~~~~~~~~~~ ../vm/vm_fault.c:724:5: warning: Value stored to 'offset' is never read offset = first_offset; ^ ~~~~~~~~~~~~ 3 warnings generated. CC vm/vm_init.o CC vm/vm_kern.o CC vm/vm_map.o ../vm/vm_map.c:2953:7: warning: Dereference of null pointer if (--(copy->cpy_npages) == 0 && ^~~~~~~~~~~~~~~~~~~~ ../vm/vm_map.c:3370:4: warning: Value stored to 'src_size' is never read src_size = (new_entry->vme_end = src_entry->vme_end) - src_start; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. CC vm/vm_object.o CC vm/vm_pageout.o CC vm/vm_resident.o CC vm/vm_user.o CC device/blkio.o CC device/chario.o ../device/chario.c:1007:3: warning: Value stored to 'count' is never read count -= b_to_q(chars, count, &tp->t_inq); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CC device/cons.o CC device/dev_lookup.o CC device/dev_name.o CC device/dev_pager.o CC device/device_init.o CC device/ds_routines.o CC device/net_io.o ../device/net_io.c:1183:55: error: expected ';' at end of declaration void check_filter_list(queue_head_t *if_port_list) ^ ; 1 error generated. CC device/subrs.o CC device/kmsg.o CC i386/i386at/autoconf.o CC i386/i386at/conf.o ../i386/i386at/conf.c:90:2: warning: initialization from incompatible pointer type [enabled by default] { kdname, kdopen, kdclose, kdread, ^ ../i386/i386at/conf.c:90:2: warning: (near initialization for ‘dev_name_list[1].d_open’) [enabled by default] ../i386/i386at/conf.c:90:2: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:90:2: warning: (near initialization for ‘dev_name_list[1].d_close’) [enabled by default] ../i386/i386at/conf.c:91:4: warning: initialization from incompatible pointer type [enabled by default] kdwrite, kdgetstat, kdsetstat, kdmmap, ^ ../i386/i386at/conf.c:91:4: warning: (near initialization for ‘dev_name_list[1].d_getstat’) [enabled by default] ../i386/i386at/conf.c:91:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:91:4: warning: (near initialization for ‘dev_name_list[1].d_setstat’) [enabled by default] ../i386/i386at/conf.c:91:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:91:4: warning: (near initialization for ‘dev_name_list[1].d_mmap’) [enabled by default] ../i386/i386at/conf.c:92:4: warning: initialization from incompatible pointer type [enabled by default] nodev, nulldev, kdportdeath, 0, ^ ../i386/i386at/conf.c:92:4: warning: (near initialization for ‘dev_name_list[1].d_port_death’) [enabled by default] ../i386/i386at/conf.c:97:4: warning: initialization from incompatible pointer type [enabled by default] nulldev, nulldev, nulldev, timemmap, ^ ../i386/i386at/conf.c:97:4: warning: (near initialization for ‘dev_name_list[2].d_mmap’) [enabled by default] ../i386/i386at/conf.c:104:4: warning: initialization from incompatible pointer type [enabled by default] comwrite, comgetstat, comsetstat, nomap, ^ ../i386/i386at/conf.c:104:4: warning: (near initialization for ‘dev_name_list[3].d_getstat’) [enabled by default] ../i386/i386at/conf.c:104:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:104:4: warning: (near initialization for ‘dev_name_list[3].d_setstat’) [enabled by default] ../i386/i386at/conf.c:105:4: warning: initialization from incompatible pointer type [enabled by default] nodev, nulldev, comportdeath, 0, ^ ../i386/i386at/conf.c:105:4: warning: (near initialization for ‘dev_name_list[3].d_port_death’) [enabled by default] ../i386/i386at/conf.c:110:2: warning: initialization from incompatible pointer type [enabled by default] { lprname, lpropen, lprclose, lprread, ^ ../i386/i386at/conf.c:110:2: warning: (near initialization for ‘dev_name_list[4].d_close’) [enabled by default] ../i386/i386at/conf.c:111:4: warning: initialization from incompatible pointer type [enabled by default] lprwrite, lprgetstat, lprsetstat, nomap, ^ ../i386/i386at/conf.c:111:4: warning: (near initialization for ‘dev_name_list[4].d_getstat’) [enabled by default] ../i386/i386at/conf.c:111:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:111:4: warning: (near initialization for ‘dev_name_list[4].d_setstat’) [enabled by default] ../i386/i386at/conf.c:112:4: warning: initialization from incompatible pointer type [enabled by default] nodev, nulldev, lprportdeath, 0, ^ ../i386/i386at/conf.c:112:4: warning: (near initialization for ‘dev_name_list[4].d_port_death’) [enabled by default] ../i386/i386at/conf.c:116:2: warning: initialization from incompatible pointer type [enabled by default] { mousename, mouseopen, mouseclose, mouseread, ^ ../i386/i386at/conf.c:116:2: warning: (near initialization for ‘dev_name_list[5].d_open’) [enabled by default] ../i386/i386at/conf.c:116:2: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:116:2: warning: (near initialization for ‘dev_name_list[5].d_close’) [enabled by default] ../i386/i386at/conf.c:116:2: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:116:2: warning: (near initialization for ‘dev_name_list[5].d_read’) [enabled by default] ../i386/i386at/conf.c:117:4: warning: initialization from incompatible pointer type [enabled by default] nodev, mousegetstat, nulldev, nomap, ^ ../i386/i386at/conf.c:117:4: warning: (near initialization for ‘dev_name_list[5].d_getstat’) [enabled by default] ../i386/i386at/conf.c:121:2: warning: initialization from incompatible pointer type [enabled by default] { kbdname, kbdopen, kbdclose, kbdread, ^ ../i386/i386at/conf.c:121:2: warning: (near initialization for ‘dev_name_list[6].d_open’) [enabled by default] ../i386/i386at/conf.c:121:2: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:121:2: warning: (near initialization for ‘dev_name_list[6].d_close’) [enabled by default] ../i386/i386at/conf.c:121:2: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:121:2: warning: (near initialization for ‘dev_name_list[6].d_read’) [enabled by default] ../i386/i386at/conf.c:122:4: warning: initialization from incompatible pointer type [enabled by default] nodev, kbdgetstat, kbdsetstat, nomap, ^ ../i386/i386at/conf.c:122:4: warning: (near initialization for ‘dev_name_list[6].d_getstat’) [enabled by default] ../i386/i386at/conf.c:122:4: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:122:4: warning: (near initialization for ‘dev_name_list[6].d_setstat’) [enabled by default] ../i386/i386at/conf.c:127:4: warning: initialization from incompatible pointer type [enabled by default] nodev, nodev, nodev, memmmap, ^ ../i386/i386at/conf.c:127:4: warning: (near initialization for ‘dev_name_list[7].d_mmap’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] { kmsgname, kmsgopen, kmsgclose, kmsgread, ^ ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[8].d_open’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[8].d_close’) [enabled by default] ../i386/i386at/conf.c:133:9: warning: initialization from incompatible pointer type [enabled by default] ../i386/i386at/conf.c:133:9: warning: (near initialization for ‘dev_name_list[8].d_read’) [enabled by default] ../i386/i386at/conf.c:134:11: warning: initialization from incompatible pointer type [enabled by default] nodev, kmsggetstat, nodev, nomap, ^ ../i386/i386at/conf.c:134:11: warning: (near initialization for ‘dev_name_list[8].d_getstat’) [enabled by default] CC i386/i386at/cons_conf.o CC i386/i386at/model_dep.o CPPAS i386/i386at/boothdr.o CC i386/i386at/com.o CC i386/i386at/immc.o CC i386/i386at/int_init.o CPPAS i386/i386at/interrupt.o CC i386/i386at/kd.o CC i386/i386at/kd_event.o CC i386/i386at/kd_queue.o CC i386/i386at/kd_mouse.o CPPAS i386/i386at/kdasm.o CC i386/i386at/mem.o CC i386/i386at/pic_isa.o CC i386/i386at/rtc.o CC i386/i386at/lpr.o CC i386/i386/ast_check.o CPPAS i386/i386/cswitch.o CC i386/i386/db_disasm.o ../i386/i386/db_disasm.c:958:6: warning: Branch condition evaluates to a garbage value if (addrp->is_reg) { ^~~~~~~~~~~~~ ../i386/i386/db_disasm.c:967:18: warning: The left operand of '!=' is a garbage value if (addrp->base != 0 || addrp->index != 0) { ~~~~~~~~~~~ ^ 2 warnings generated. CC i386/i386/db_interface.o ../i386/i386/db_interface.c:329:2: warning: Address of stack memory associated with local variable 'type' is still referred to by the global variable 'i386_last_kdb_sp' upon returning to the caller. This will be a dangling reference return 1; ^ 1 warning generated. CC i386/i386/db_trace.o ../i386/i386/db_trace.c:166:10: warning: Access to field 'pcb' results in a dereference of a null pointer (loaded from variable 'thread') if (thread->pcb == 0) ^~~~~~ 1 warning generated. CC i386/i386/debug_i386.o CPPAS i386/i386/debug_trace.o CC i386/i386/fpu.o ../i386/i386/fpu.c:639:41: warning: Access to field 'fp_valid' results in a dereference of a null pointer (loaded from field 'ifps') fp_thread->pcb->ims.ifps->fp_valid = 2; ~~~~ ^ ../i386/i386/fpu.c:677:14: warning: Dereference of null pointer thread->pcb->ims.ifps->xfp_save_state.fp_status : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../i386/i386/fpu.c:678:14: warning: Dereference of null pointer thread->pcb->ims.ifps->fp_save_state.fp_status); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC i386/i386/gdt.o CC i386/i386/idt.o CPPAS i386/i386/idt_inittab.o CC i386/i386/io_perm.o CC i386/i386/ktss.o CC i386/i386/kttd_interface.o CC i386/i386/ldt.o CPPAS i386/i386/locore.o CC i386/i386/loose_ends.o CC i386/i386/machine_task.o CC i386/i386/mp_desc.o CC i386/i386/pcb.o CC i386/i386/phys.o CC i386/i386/seg.o CPPAS i386/i386/spl.o CC i386/i386/trap.o CC i386/i386/user_ldt.o CC i386/intel/pmap.o CC i386/intel/read_fault.o CC i386/i386/hardclock.o CC i386/i386/io_map.o CC i386/i386/pic.o CC i386/i386/pit.o CPPAS i386/i386/_setjmp.o CC chips/busses.o CC device/cirbuf.o CC version.o CC vm/memory_object_user.user.o CC vm/memory_object_default.user.o CC device/device_reply.user.o CC device/memory_object_reply.user.o CC device/device.server.o CC device/device_pager.server.o CC ipc/mach_port.server.o CC kern/mach.server.o CC kern/mach4.server.o kern/mach4.server.c: In function ‘_Xmemory_object_create_proxy’: kern/mach4.server.c:603:2: warning: passing argument 3 of ‘memory_object_create_proxy’ from incompatible pointer type [enabled by default] OutP->RetCode = memory_object_create_proxy(task, In0P->max_protection, In0P->object, In0P->objectType.msgt_number, In1P->offset, In1P->offsetType.msgt_number, In2P->start, In2P->startType.msgt_number, In3P->len, In3P->lenType.msgt_number, &OutP->proxy); ^ kern/mach4.server.c:497:29: note: expected ‘memory_object_array_t’ but argument is of type ‘struct ipc_port **’ mig_external kern_return_t memory_object_create_proxy ^ CC kern/gnumach.server.o CC kern/mach_debug.server.o CC kern/mach_host.server.o CC i386/i386/mach_i386.server.o i386/i386/mach_i386.server.c: In function ‘_Xi386_set_ldt’: i386/i386/mach_i386.server.c:78:12: warning: variable ‘msgh_simple’ set but not used [-Wunused-but-set-variable] boolean_t msgh_simple; ^ i386/i386/mach_i386.server.c:97:2: warning: Value stored to 'msgh_simple' is never read msgh_simple = !(In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. AR libkernel.a AR lib_dep_tr_for_defs.a CC linux/dev/init/liblinux_a-version.o CC linux/dev/kernel/liblinux_a-softirq.o CC linux/src/arch/i386/lib/liblinux_a-delay.o CC linux/dev/kernel/liblinux_a-dma.o CC linux/dev/kernel/liblinux_a-resource.o CC linux/dev/kernel/liblinux_a-printk.o CC linux/src/arch/i386/kernel/liblinux_a-bios32.o CC linux/dev/arch/i386/kernel/liblinux_a-irq.o CC linux/src/lib/liblinux_a-ctype.o CC linux/dev/lib/liblinux_a-vsprintf.o CC linux/dev/init/liblinux_a-main.o ../linux/dev/init/main.c: In function ‘alloc_contig_mem’: ../linux/dev/init/main.c:299:3: warning: return makes pointer from integer without a cast [enabled by default] return phystokv(m); ^ ../linux/dev/init/main.c:196:15: warning: ‘addr’ may be used uninitialized in this function [-Wmaybe-uninitialized] vm_offset_t addr, max_addr; ^ CC linux/dev/glue/liblinux_a-misc.o CC linux/dev/kernel/liblinux_a-sched.o CC linux/dev/glue/liblinux_a-kmem.o CC linux/dev/glue/liblinux_a-block.o ../linux/dev/glue/block.c: In function ‘device_open’: ../linux/dev/glue/block.c:1159:14: warning: assignment from incompatible pointer type [enabled by default] *devp = IP_NULL; ^ ../linux/dev/glue/block.c: In function ‘device_get_status’: ../linux/dev/glue/block.c:1668:28: warning: initialization from incompatible pointer type [enabled by default] struct disk_parms *dp = status; ^ ../linux/dev/glue/block.c: At top level: ../linux/dev/glue/block.c:1746:3: warning: initialization from incompatible pointer type [enabled by default] device_set_status, ^ ../linux/dev/glue/block.c:1746:3: warning: (near initialization for ‘linux_block_emulation_ops.set_status’) [enabled by default] ../linux/dev/glue/block.c:454:11: warning: Dereference of undefined pointer value major = MAJOR (bh[0]->b_dev); ^~~~~~~~~~~~~~~~~~~~ ../linux/src/include/linux/kdev_t.h:69:21: note: expanded from macro 'MAJOR' #define MAJOR(dev) ((dev) >> MINORBITS) ^~~~~ ../linux/dev/glue/block.c:562:3: warning: Address of stack memory associated with local variable 'bhead' is still referred to by the global variable 'req' upon returning to the caller. This will be a dangling reference return err; ^ ../linux/dev/glue/block.c:1167:22: warning: Access to field 'open_count' results in a dereference of a null pointer (loaded from variable 'bd') bd->open_count = 1; ~~ ^ ../linux/dev/glue/block.c:1323:7: warning: Function call argument is an uninitialized value vm_map_copy_discard (copy); ^ ~~~~ 4 warnings generated. CC linux/dev/arch/i386/kernel/liblinux_a-setup.o CC linux/src/drivers/pci/liblinux_a-pci.o ../linux/src/drivers/pci/pci.c:955:12: warning: Null pointer argument in call to string length function if (len + strlen(str) > size) { ^ ~~~ 1 warning generated. CC linux/dev/drivers/block/liblinux_a-genhd.o CC linux/dev/drivers/block/liblinux_a-floppy.o ../linux/dev/drivers/block/floppy.c: In function ‘fd_ioctl’: ../linux/dev/drivers/block/floppy.c:3314:3: warning: pointer targets in passing argument 1 of ‘normalize_0x02xx_ioctl’ differ in signedness [-Wpointer-sign] ECALL(normalize_0x02xx_ioctl(&cmd, &size)); ^ ../linux/dev/drivers/block/floppy.c:3231:19: note: expected ‘int *’ but argument is of type ‘unsigned int *’ static inline int normalize_0x02xx_ioctl(int *cmd, int *size) ^ ../linux/dev/drivers/block/floppy.c:3316:3: warning: pointer targets in passing argument 1 of ‘xlate_0x00xx_ioctl’ differ in signedness [-Wpointer-sign] ECALL(xlate_0x00xx_ioctl(&cmd, &size)); ^ ../linux/dev/drivers/block/floppy.c:3249:19: note: expected ‘int *’ but argument is of type ‘unsigned int *’ static inline int xlate_0x00xx_ioctl(int *cmd, int *size) ^ ../linux/dev/drivers/block/floppy.c: In function ‘floppy_eject’: ../linux/dev/drivers/block/floppy.c:532:21: warning: statement with no effect [-Wunused-value] #define fd_eject(x) -EINVAL ^ ../linux/dev/drivers/block/floppy.c:4283:3: note: in expansion of macro ‘fd_eject’ fd_eject(0); ^ In file included from ../linux/dev/drivers/block/floppy.c:172: ./linux/src/include/asm/floppy.h:90:19: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions : "=a" ((char) st), ~~~~~~~^~ ./linux/src/include/asm/floppy.h:91:19: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions "=c" ((long) virtual_dma_count), ~~~~~~~^~~~~~~~~~~~~~~~~ ./linux/src/include/asm/floppy.h:92:19: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions "=S" ((long) virtual_dma_addr) ~~~~~~~^~~~~~~~~~~~~~~~ 3 errors generated. CC linux/src/drivers/block/liblinux_a-cmd640.o CC linux/src/drivers/block/liblinux_a-ide-cd.o In file included from ../linux/src/drivers/block/ide-cd.c:164: In file included from ../linux/dev/include/linux/malloc.h:4: In file included from ../linux/dev/include/linux/mm.h:4: In file included from ../linux/dev/include/linux/sched.h:21: In file included from ./linux/dev/include/asm/system.h:4: ./linux/src/include/asm/segment.h:290:5: warning: Function call argument is an uninitialized value __put_user(*s++, d++, 1); ^ ~~~~ 1 warning generated. CC linux/src/drivers/block/liblinux_a-ide.o ../linux/src/drivers/block/ide.c:2347:4: warning: Address of stack memory associated with local variable 'rq' is still referred to by the global variable 'blk_dev' upon returning to the caller. This will be a dangling reference return err; ^ 1 warning generated. CC linux/dev/drivers/block/liblinux_a-ahci.o ../linux/dev/drivers/block/ahci.c: In function ‘ahci_probe_port’: ../linux/dev/drivers/block/ahci.c:734:3: warning: implicit declaration of function ‘ide_fixstring’ [-Wimplicit-function-declaration] ide_fixstring(id.model, sizeof(id.model), 1); ^ In file included from ../linux/dev/drivers/block/ahci.c:32:0: ../linux/dev/drivers/block/ahci.c: At top level: ../linux/dev/include/linux/blk.h:167:21: warning: ‘do_sd’ defined but not used [-Wunused-variable] #define DEVICE_INTR do_sd ^ ../linux/dev/include/linux/blk.h:326:15: note: in expansion of macro ‘DEVICE_INTR’ static void (*DEVICE_INTR)(void) = NULL; ^ ../linux/dev/include/linux/blk.h:169:24: warning: ‘do_sd_request’ declared ‘static’ but never defined [-Wunused-function] #define DEVICE_REQUEST do_sd_request ^ ../linux/dev/include/linux/blk.h:349:14: note: in expansion of macro ‘DEVICE_REQUEST’ static void (DEVICE_REQUEST)(void); ^ CC linux/src/drivers/block/liblinux_a-rz1000.o CC linux/src/drivers/block/liblinux_a-triton.o ../linux/src/drivers/block/triton.c: In function ‘config_drive_for_dma’: ../linux/src/drivers/block/triton.c:223:4: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (!strcmp(*list++,id->model)) { ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/src/drivers/block/triton.c:22: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/block/triton.c:253:4: warning: pointer targets in passing argument 2 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (!strcmp(*list++,id->model)) { ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/src/drivers/block/triton.c:22: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/block/triton.c:112:18: warning: Value stored to 'rq' during its initialization is never read struct request *rq = HWGROUP(drive)->rq; ^~ ~~~~~~~~~~~~~~~~~~ 1 warning generated. CC linux/src/drivers/scsi/liblinux_a-constants.o CC linux/src/drivers/scsi/liblinux_a-hosts.o In file included from ../linux/src/drivers/scsi/hosts.c:129:0: ../linux/src/drivers/scsi/dtc.h:49:0: warning: "CSR_RESET" redefined [enabled by default] #define CSR_RESET 0x80 /* wo Resets 53c400 */ ^ In file included from ../linux/src/drivers/scsi/hosts.c:105:0: ../linux/src/drivers/scsi/in2000.h:187:0: note: this is the location of the previous definition #define CSR_RESET 0x00 ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:129:0: warning: "SCSI_NCR_SETUP_ULTRA_SCSI" redefined [enabled by default] #define SCSI_NCR_SETUP_ULTRA_SCSI (2) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:154:0: note: this is the location of the previous definition #define SCSI_NCR_SETUP_ULTRA_SCSI (3) ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:130:0: warning: "SCSI_NCR_MAX_SYNC" redefined [enabled by default] #define SCSI_NCR_MAX_SYNC (40) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:155:0: note: this is the location of the previous definition #define SCSI_NCR_MAX_SYNC (80) ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:144:0: warning: "SCSI_NCR_MAX_TAGS" redefined [enabled by default] #define SCSI_NCR_MAX_TAGS (4) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:169:0: note: this is the location of the previous definition #define SCSI_NCR_MAX_TAGS (8) ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:251:0: warning: "SCSI_NCR_CAN_QUEUE" redefined [enabled by default] #define SCSI_NCR_CAN_QUEUE (7*SCSI_NCR_MAX_TAGS) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:363:0: note: this is the location of the previous definition #define SCSI_NCR_CAN_QUEUE (8*SCSI_NCR_MAX_TAGS + 2*SCSI_NCR_MAX_TARGET) ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:255:0: warning: "SCSI_NCR_TIMER_INTERVAL" redefined [enabled by default] #define SCSI_NCR_TIMER_INTERVAL ((HZ+5-1)/5) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:367:0: note: this is the location of the previous definition #define SCSI_NCR_TIMER_INTERVAL (HZ) ^ In file included from ../linux/src/drivers/scsi/hosts.c:141:0: ../linux/src/drivers/scsi/ncr53c8xx.h:258:0: warning: "SCSI_NCR_MAX_LUN" redefined [enabled by default] #define SCSI_NCR_MAX_LUN (8) ^ In file included from ../linux/src/drivers/scsi/sym53c8xx.h:60:0, from ../linux/src/drivers/scsi/hosts.c:137: ../linux/src/drivers/scsi/sym53c8xx_defs.h:370:0: note: this is the location of the previous definition #define SCSI_NCR_MAX_LUN (16) ^ In file included from ../linux/src/drivers/scsi/hosts.c:165:0: ../linux/src/drivers/scsi/AM53C974.h:227:0: warning: "PHASE_MSGIN" redefined [enabled by default] #define PHASE_MSGIN 0x07 ^ In file included from ../linux/src/drivers/scsi/hosts.c:121:0: ../linux/src/drivers/scsi/seagate.h:110:0: note: this is the location of the previous definition #define PHASE_MSGIN 0x40 ^ In file included from ../linux/src/drivers/scsi/hosts.c:165:0: ../linux/src/drivers/scsi/AM53C974.h:228:0: warning: "PHASE_MSGOUT" redefined [enabled by default] #define PHASE_MSGOUT 0x06 ^ In file included from ../linux/src/drivers/scsi/hosts.c:121:0: ../linux/src/drivers/scsi/seagate.h:111:0: note: this is the location of the previous definition #define PHASE_MSGOUT 0x80 ^ In file included from ../linux/src/drivers/scsi/hosts.c:165:0: ../linux/src/drivers/scsi/AM53C974.h:232:0: warning: "PHASE_CMDOUT" redefined [enabled by default] #define PHASE_CMDOUT 0x02 ^ In file included from ../linux/src/drivers/scsi/hosts.c:121:0: ../linux/src/drivers/scsi/seagate.h:109:0: note: this is the location of the previous definition #define PHASE_CMDOUT 0x20 ^ In file included from ../linux/src/drivers/scsi/hosts.c:165:0: ../linux/src/drivers/scsi/AM53C974.h:233:0: warning: "PHASE_DATAIN" redefined [enabled by default] #define PHASE_DATAIN 0x01 ^ In file included from ../linux/src/drivers/scsi/hosts.c:121:0: ../linux/src/drivers/scsi/seagate.h:107:0: note: this is the location of the previous definition #define PHASE_DATAIN 8 ^ In file included from ../linux/src/drivers/scsi/hosts.c:165:0: ../linux/src/drivers/scsi/AM53C974.h:234:0: warning: "PHASE_DATAOUT" redefined [enabled by default] #define PHASE_DATAOUT 0x00 ^ In file included from ../linux/src/drivers/scsi/hosts.c:121:0: ../linux/src/drivers/scsi/seagate.h:108:0: note: this is the location of the previous definition #define PHASE_DATAOUT 0x10 ^ In file included from ../linux/src/drivers/scsi/hosts.c:117:0: ../linux/src/drivers/scsi/qlogicisp.h:72:30: warning: ‘proc_scsi_isp1020’ defined but not used [-Wunused-variable] static struct proc_dir_entry proc_scsi_isp1020; ^ CC linux/src/drivers/scsi/liblinux_a-scsi.o ../linux/src/drivers/scsi/scsi.c: In function ‘scan_scsis’: ../linux/src/drivers/scsi/scsi.c:454:10: warning: pointer targets in passing argument 9 of ‘scan_scsis_single’ differ in signedness [-Wpointer-sign] &SDpnt, SCpnt, shpnt, scsi_result); ^ ../linux/src/drivers/scsi/scsi.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int scan_scsis_single (int channel,int dev,int lun,int * max_scsi_dev , ^ ../linux/src/drivers/scsi/scsi.c:491:9: warning: pointer targets in passing argument 9 of ‘scan_scsis_single’ differ in signedness [-Wpointer-sign] scsi_result) ^ ../linux/src/drivers/scsi/scsi.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int scan_scsis_single (int channel,int dev,int lun,int * max_scsi_dev , ^ ../linux/src/drivers/scsi/scsi.c:525:7: warning: pointer targets in passing argument 1 of ‘scsi_init_free’ differ in signedness [-Wpointer-sign] scsi_init_free (scsi_result, 512); ^ In file included from ../linux/src/drivers/scsi/scsi.c:57:0: ../linux/src/drivers/scsi/hosts.h:327:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern void scsi_init_free(char * ptr, unsigned int size); ^ ../linux/src/drivers/scsi/scsi.c: In function ‘scan_scsis_single’: ../linux/src/drivers/scsi/scsi.c:708:3: warning: pointer targets in passing argument 1 of ‘print_inquiry’ differ in signedness [-Wpointer-sign] print_inquiry (scsi_result); ^ ../linux/src/drivers/scsi/scsi.c:93:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static void print_inquiry(unsigned char *data); ^ ../linux/src/drivers/scsi/scsi.c:731:3: warning: pointer targets in passing argument 1 of ‘get_device_flags’ differ in signedness [-Wpointer-sign] bflags = get_device_flags (scsi_result); ^ ../linux/src/drivers/scsi/scsi.c:303:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static int get_device_flags(unsigned char * response_data){ ^ ../linux/src/drivers/scsi/scsi.c: In function ‘resize_dma_pool’: ../linux/src/drivers/scsi/scsi.c:2898:6: warning: pointer targets in passing argument 1 of ‘scsi_init_free’ differ in signedness [-Wpointer-sign] scsi_init_free(dma_malloc_pages[i], PAGE_SIZE); ^ ../linux/src/drivers/scsi/scsi.c:2513:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’ void scsi_init_free(char * ptr, unsigned int size) ^ In file included from ../linux/src/drivers/scsi/scsi.c:41: In file included from ../linux/dev/include/linux/sched.h:26: In file included from ../linux/src/include/linux/tty.h:20: In file included from ../linux/src/include/linux/termios.h:5: In file included from ./linux/src/include/asm/termios.h:59: In file included from ../linux/src/include/linux/string.h:39: ./linux/dev/include/asm/string.h:258:29: warning: Assigned value is garbage or undefined *(2+(unsigned long *)to) = *(2+(const unsigned long *)from); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/scsi.c:549:15: warning: Access to field 'host' results in a dereference of a null pointer (loaded from variable 'SDpnt') SDpnt->host = shpnt; ~~~~~ ^ ../linux/src/drivers/scsi/scsi.c:789:3: warning: Value stored to 'SDtail' is never read SDtail = SDpnt; ^ ~~~~~ ../linux/src/drivers/scsi/scsi.c:2718:2: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ 4 warnings generated. CC linux/src/drivers/scsi/liblinux_a-scsi_ioctl.o In file included from ../linux/src/drivers/scsi/scsi_ioctl.c:10: ./linux/src/include/asm/segment.h:281:10: warning: Dereference of null pointer *d++ = __get_user(s++, 1); ~~~~~^~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/scsi_ioctl.c:243:23: warning: The left operand of '&' is a garbage value cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); ~~~~~~ ^ 2 warnings generated. CC linux/src/drivers/scsi/liblinux_a-scsi_proc.o ../linux/src/drivers/scsi/scsi_proc.c:164:12: warning: Access to field 'cmdPos' results in a dereference of a null pointer (loaded from variable 'handle') kfree (handle->cmdPos); ^~~~~~ ../linux/src/drivers/scsi/scsi_proc.c:244:12: warning: Value stored to 'y' during its initialization is never read int x, y = *size; ^ ~~~~~ 2 warnings generated. CC linux/src/drivers/scsi/liblinux_a-scsicam.o ../linux/src/drivers/scsi/scsicam.c: In function ‘scsicam_bios_param’: ../linux/src/drivers/scsi/scsicam.c:58:5: warning: implicit declaration of function ‘scsi_partsize’ [-Wimplicit-function-declaration] ret_code = scsi_partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, ^ CC linux/src/drivers/scsi/liblinux_a-sd.o ../linux/src/drivers/scsi/sd.c: In function ‘revalidate_scsidisk’: ../linux/src/drivers/scsi/sd.c:1551:9: warning: unused variable ‘devi’ [-Wunused-variable] kdev_t devi = MKDEV(MAJOR_NR, minor); ^ ../linux/src/drivers/scsi/sd.c: In function ‘sd_detach’: ../linux/src/drivers/scsi/sd.c:1597:10: warning: unused variable ‘devi’ [-Wunused-variable] kdev_t devi = MKDEV(MAJOR_NR, minor); ^ ../linux/src/drivers/scsi/sd.c:597:5: warning: Value stored to 'this_count' is never read this_count = 0; ^ ~ ../linux/src/drivers/scsi/sd.c:814:4: warning: Value stored to 'this_count' is never read this_count = counted -= bh->b_size >> 9; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sd.c:1551:9: warning: Value stored to 'devi' during its initialization is never read kdev_t devi = MKDEV(MAJOR_NR, minor); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sd.c:1597:10: warning: Value stored to 'devi' during its initialization is never read kdev_t devi = MKDEV(MAJOR_NR, minor); ^~~~ ~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CC linux/src/drivers/scsi/liblinux_a-sd_ioctl.o CC linux/src/drivers/scsi/liblinux_a-sr.o ../linux/src/drivers/scsi/sr.c: In function ‘requeue_sr_request’: ../linux/src/drivers/scsi/sr.c:722:34: warning: variable ‘tries’ set but not used [-Wunused-but-set-variable] unsigned char cmd[10], *buffer, tries; ^ ../linux/src/drivers/scsi/sr.c: In function ‘sr_detach’: ../linux/src/drivers/scsi/sr.c:1218:13: warning: unused variable ‘devi’ [-Wunused-variable] kdev_t devi = MKDEV(MAJOR_NR, i); ^ ../linux/src/drivers/scsi/sr.c:306:5: warning: Value stored to 'result' is never read result = 0; ^ ~ ../linux/src/drivers/scsi/sr.c:725:2: warning: Value stored to 'tries' is never read tries = 2; ^ ~ ../linux/src/drivers/scsi/sr.c:741:3: warning: Value stored to 'tries' is never read tries = 2; ^ ~ ../linux/src/drivers/scsi/sr.c:748:3: warning: Value stored to 'tries' is never read tries = 2; ^ ~ ../linux/src/drivers/scsi/sr.c:759:3: warning: Value stored to 'tries' is never read tries = 2; ^ ~ ../linux/src/drivers/scsi/sr.c:804:2: warning: Value stored to 'this_count' is never read this_count = 0; ^ ~ ../linux/src/drivers/scsi/sr.c:841:6: warning: Value stored to 'bh' is never read bh = SCpnt->request.bh; ^ ~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sr.c:1218:13: warning: Value stored to 'devi' during its initialization is never read kdev_t devi = MKDEV(MAJOR_NR, i); ^~~~ ~~~~~~~~~~~~~~~~~~ 8 warnings generated. CC linux/src/drivers/scsi/liblinux_a-sr_ioctl.o ../linux/src/drivers/scsi/sr_ioctl.c: In function ‘sr_ioctl’: ../linux/src/drivers/scsi/sr_ioctl.c:219:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (unsigned char *) scsi_malloc(512); ^ ../linux/src/drivers/scsi/sr_ioctl.c:361:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (unsigned char *) scsi_malloc(512); ^ ../linux/src/drivers/scsi/sr_ioctl.c:377:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mask = (unsigned char *) scsi_malloc(512); ^ ../linux/src/drivers/scsi/sr_ioctl.c:427:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (unsigned char *) scsi_malloc(512); ^ ../linux/src/drivers/scsi/sr_ioctl.c:463:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (unsigned char*) scsi_malloc(512); ^ ../linux/src/drivers/scsi/sr_ioctl.c:505:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (unsigned char*) scsi_malloc(512); ^ CC linux/src/drivers/scsi/liblinux_a-AM53C974.o In file included from ../linux/src/drivers/scsi/AM53C974.c:18:0: ../linux/src/drivers/scsi/AM53C974.c: In function ‘AM53C974_sync_neg’: ../linux/src/drivers/scsi/AM53C974.h:291:48: warning: variable ‘io_port’ set but not used [-Wunused-but-set-variable] #define AM53C974_local_declare() unsigned long io_port ^ ../linux/src/drivers/scsi/AM53C974.c:1297:1: note: in expansion of macro ‘AM53C974_local_declare’ AM53C974_local_declare(); ^ ../linux/src/drivers/scsi/AM53C974.c: In function ‘AM53C974_information_transfer’: ../linux/src/drivers/scsi/AM53C974.c:1422:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd->SCp.ptr = (unsigned char *)cmd->SCp.buffer->address; ^ ../linux/src/drivers/scsi/AM53C974.c:1398:26: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int ret, i, len, residual=-1; ^ ../linux/src/drivers/scsi/AM53C974.c:992:7: warning: Value stored to 'cmdreg' is never read cmdreg = AM53C974_read_8(CMDREG); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1406:20: warning: Dereference of null pointer cmd->SCp.phase = PHASE_DATAOUT; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1412:20: warning: Dereference of null pointer cmd->SCp.phase = PHASE_DATAIN; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1438:34: warning: Access to field 'target' results in a dereference of a null pointer (loaded from variable 'cmd') AM53C974_set_async(instance, cmd->target); ^~~ ../linux/src/drivers/scsi/AM53C974.c:1455:8: warning: Value stored to 'ret' is never read ret = AM53C974_message(instance, cmd, cmd->SCp.Message); } ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1462:8: warning: Value stored to 'ret' is never read ret = AM53C974_message(instance, cmd, cmd->SCp.Message); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1471:34: warning: Access to field 'target' results in a dereference of a null pointer (loaded from variable 'cmd') AM53C974_set_async(instance, cmd->target); ^~~ ../linux/src/drivers/scsi/AM53C974.c:1499:34: warning: Access to field 'target' results in a dereference of a null pointer (loaded from variable 'cmd') AM53C974_set_async(instance, cmd->target); ^~~ ../linux/src/drivers/scsi/AM53C974.c:1508:9: warning: Dereference of null pointer if (cmd->SCp.phase == PHASE_DATAIN) ^~~~~~~~~~~~~~ ../linux/src/drivers/scsi/AM53C974.c:1520:61: warning: Value stored to 'cfifo' is never read if (cfifo) { AM53C974_write_8(CMDREG, CMDREG_CFIFO); cfifo = 0; } ^ ~ 10 warnings generated. CC linux/src/drivers/scsi/liblinux_a-BusLogic.o In file included from ../linux/src/drivers/scsi/BusLogic.c:53:0: ../linux/src/drivers/scsi/FlashPoint.c: In function ‘FlashPoint_AbortCCB’: ../linux/src/drivers/scsi/FlashPoint.c:4509:8: warning: variable ‘TID’ set but not used [-Wunused-but-set-variable] UCHAR TID; ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_DriverInfo’: ../linux/src/drivers/scsi/BusLogic.c:176:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return HostAdapter->FullModelName; ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_ReadHostAdapterConfiguration’: ../linux/src/drivers/scsi/BusLogic.c:1519:7: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(HostAdapter->FirmwareVersion, FlashPoint_FirmwareVersion); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:31:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcpy(char * dest,const char *src) ^ ../linux/src/drivers/scsi/BusLogic.c:1600:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(HostAdapterModelNumber, "542B"); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:31:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcpy(char * dest,const char *src) ^ ../linux/src/drivers/scsi/BusLogic.c:1607:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(HostAdapterModelNumber, "742A"); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:31:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcpy(char * dest,const char *src) ^ ../linux/src/drivers/scsi/BusLogic.c:1611:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(HostAdapterModelNumber, "747A"); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:31:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcpy(char * dest,const char *src) ^ ../linux/src/drivers/scsi/BusLogic.c:1665:3: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "3.3") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1829:8: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->ModelName, "BT-757") == 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1873:3: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "3.31") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1899:7: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "4.22") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1903:7: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "3.35") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1928:7: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] strcmp(HostAdapter->ModelName, "BT-445S") == 0 && ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1929:7: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] strcmp(HostAdapter->FirmwareVersion, "3.37") < 0 && ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:1939:3: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(HostAdapter->FullModelName, "BusLogic "); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:31:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcpy(char * dest,const char *src) ^ ../linux/src/drivers/scsi/BusLogic.c:1940:3: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(HostAdapter->FullModelName, HostAdapter->ModelName); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:66:22: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern inline char * strcat(char * dest,const char * src) ^ ../linux/src/drivers/scsi/BusLogic.c:1940:3: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness [-Wpointer-sign] strcat(HostAdapter->FullModelName, HostAdapter->ModelName); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:66:22: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline char * strcat(char * dest,const char * src) ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_AcquireResources’: ../linux/src/drivers/scsi/BusLogic.c:2269:5: warning: pointer targets in passing argument 4 of ‘request_irq’ differ in signedness [-Wpointer-sign] HostAdapter->FullModelName, HostAdapter) < 0) ^ In file included from ../linux/dev/include/linux/blkdev.h:5:0, from ../linux/src/drivers/scsi/BusLogic.c:37: ../linux/dev/include/linux/sched.h:350:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int request_irq(unsigned int irq, ^ ../linux/src/drivers/scsi/BusLogic.c:2282:9: warning: pointer targets in passing argument 2 of ‘request_dma’ differ in signedness [-Wpointer-sign] HostAdapter->FullModelName) < 0) ^ In file included from ../linux/src/drivers/scsi/BusLogic.c:45:0: ./linux/src/include/asm/dma.h:267:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */ ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_TargetDeviceInquiry’: ../linux/src/drivers/scsi/BusLogic.c:2471:3: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "4.25") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c:2507:3: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] if (strcmp(HostAdapter->FirmwareVersion, "5.06L") >= 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_ReportTargetDeviceInfo’: ../linux/src/drivers/scsi/BusLogic.c:2579:6: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] strcmp(HostAdapter->FirmwareVersion, "5.06L") < 0) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/blkdev.h:5, from ../linux/src/drivers/scsi/BusLogic.c:37: ./linux/dev/include/asm/string.h:108:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern inline int strcmp(const char * cs,const char * ct) ^ ../linux/src/drivers/scsi/BusLogic.c: In function ‘BusLogic_DetectHostAdapter’: ../linux/src/drivers/scsi/BusLogic.c:2846:5: warning: pointer targets in passing argument 3 of ‘request_region’ differ in signedness [-Wpointer-sign] HostAdapter->FullModelName); ^ In file included from ../linux/src/drivers/scsi/BusLogic.c:39:0: ../linux/src/include/linux/ioport.h:21:13: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern void request_region(unsigned int from, unsigned int extent,const char *name); ^ In file included from ../linux/src/drivers/scsi/BusLogic.c:53: ../linux/src/drivers/scsi/FlashPoint.c:4571:5: warning: Value stored to 'TID' is never read TID = p_Sccb->TargID; ^ ~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/FlashPoint.c:5993:2: warning: Value stored to 'currTar_Info' is never read currTar_Info = &sccbMgrTbl[p_card][our_target]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/FlashPoint.c:6500:3: warning: Value stored to 'message' is never read message = sfm(port,currSCCB); ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC linux/src/drivers/scsi/liblinux_a-advansys.o ../linux/src/drivers/scsi/advansys.c: In function ‘advansys_detect’: ../linux/src/drivers/scsi/advansys.c:4931:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] shp->base = (char *) ((ulong) AscGetChipBiosAddress( ^ ../linux/src/drivers/scsi/advansys.c: In function ‘advansys_info’: ../linux/src/drivers/scsi/advansys.c:5277:22: warning: variable ‘adv_dvc_varp’ set but not used [-Wunused-but-set-variable] ADV_DVC_VAR *adv_dvc_varp; ^ ../linux/src/drivers/scsi/advansys.c: In function ‘asc_execute_scsi_cmnd’: ../linux/src/drivers/scsi/advansys.c:6513:25: warning: variable ‘device’ set but not used [-Wunused-but-set-variable] Scsi_Device *device; ^ ../linux/src/drivers/scsi/advansys.c: In function ‘asc_isr_callback’: ../linux/src/drivers/scsi/advansys.c:7132:30: warning: suggest parentheses around comparison in operand of ‘!=’ [-Wparentheses] qdonep->remain_bytes <= scp->request_bufflen != 0) { ^ ../linux/src/drivers/scsi/advansys.c: In function ‘asc_prt_adv_board_eeprom’: ../linux/src/drivers/scsi/advansys.c:8526:25: warning: variable ‘adv_dvc_varp’ set but not used [-Wunused-but-set-variable] ADV_DVC_VAR *adv_dvc_varp; ^ ../linux/src/drivers/scsi/advansys.c: In function ‘AscInitGetConfig’: ../linux/src/drivers/scsi/advansys.c:12730:25: warning: variable ‘PCIRevisionID’ set but not used [-Wunused-but-set-variable] uchar PCIRevisionID; ^ ../linux/src/drivers/scsi/advansys.c: In function ‘AdvISR’: ../linux/src/drivers/scsi/advansys.c:15079:48: warning: variable ‘target_bit’ set but not used [-Wunused-but-set-variable] ushort next_done_loc, target_bit; ^ ../linux/src/drivers/scsi/advansys.c: In function ‘advansys_detect’: ../linux/src/drivers/scsi/advansys.c:4718:33: warning: array subscript is above array bounds [-Warray-bounds] ep->adapter_info[6] = asc_dvc_varp->cfg->adapter_info[6]; ^ ../linux/src/drivers/scsi/advansys.c:3996:5: warning: String copy function overflows destination buffer strcat(cp, "\n"); ^ ~~ ../linux/src/drivers/scsi/advansys.c:4145:5: warning: Value stored to 'advoffset' is never read advoffset += cplen; ^ ~~~~~ ../linux/src/drivers/scsi/advansys.c:4146:5: warning: Value stored to 'curbuf' is never read curbuf += cnt; ^ ~~~ ../linux/src/drivers/scsi/advansys.c:4421:37: warning: The left operand of '==' is a garbage value pciConfig.deviceID == ASC_PCI_DEVICE_ID_2300) { ~~~~~~~~~~~~~~~~~~ ^ ../linux/src/drivers/scsi/advansys.c:4466:36: warning: Assigned value is garbage or undefined pci_memory_address = pciConfig.baseAddress[1]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5083:32: warning: Access to field 'max_host_qng' results in a dereference of a null pointer (loaded from variable 'adv_dvc_varp') for (req_cnt = adv_dvc_varp->max_host_qng; ^~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5344:9: warning: Value stored to 'adv_dvc_varp' is never read adv_dvc_varp = &boardp->dvc_var.adv_dvc_var; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5517:5: warning: Value stored to 'do_scsi_done' is never read do_scsi_done = ASC_ERROR; ^ ~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5518:5: warning: Value stored to 'scp_found' is never read scp_found = ASC_ERROR; ^ ~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5519:5: warning: Value stored to 'ret' is never read ret = ASC_ERROR; ^ ~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5858:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5863:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_ERROR; ^ ~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5885:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5897:25: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5902:25: warning: Value stored to 'ret' is never read ret = SCSI_RESET_ERROR; ^ ~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5930:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5935:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_ERROR; ^ ~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5958:21: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5968:25: warning: Value stored to 'ret' is never read ret = SCSI_RESET_SUCCESS; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:5973:25: warning: Value stored to 'ret' is never read ret = SCSI_RESET_ERROR; ^ ~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:6023:32: warning: Access to field 'host_scribble' results in a dereference of a null pointer (loaded from variable 'last_scp') REQPNEXT(last_scp) = ~~~~~~~~ ^ ../linux/src/drivers/scsi/advansys.c:6351:36: warning: Access to field 'host_scribble' results in a dereference of a null pointer (loaded from variable 'last_scp') REQPNEXT(last_scp) = ~~~~~~~~ ^ ../linux/src/drivers/scsi/advansys.c:6456:9: warning: Called function pointer is null (null dereference) scp->scsi_done(scp); ^~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:6521:5: warning: Value stored to 'device' is never read device = boardp->device[scp->target]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:6968:39: warning: Access to field 'next_sgblkp' results in a dereference of a null pointer (loaded from field 'sgblkp') reqp->sgblkp->next_sgblkp = boardp->adv_sgblkp; ~~~~~~ ^ ../linux/src/drivers/scsi/advansys.c:7545:17: warning: Assigned value is garbage or undefined pciData.bus = pciDevice->busNumber; ^ ~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:7624:5: warning: Assigned value is garbage or undefined ulong lbus = pciData->bus; ^ ~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:8536:5: warning: Value stored to 'adv_dvc_varp' is never read adv_dvc_varp = &boardp->dvc_var.adv_dvc_var; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:10821:40: warning: Access to field 'queue_full' results in a dereference of a null pointer (loaded from variable 'boardp') boardp->queue_full |= target_id; ~~~~~~ ^ ../linux/src/drivers/scsi/advansys.c:11310:5: warning: Value stored to 'n_q_required' is never read n_q_required = 1; ^ ~ ../linux/src/drivers/scsi/advansys.c:12746:9: warning: Value stored to 'PCIRevisionID' is never read PCIRevisionID = DvcReadPCIConfigByte(asc_dvc, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:15152:9: warning: Value stored to 'target_bit' is never read target_bit = ADV_TID_TO_TIDMASK(scsiq->target_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/advansys.c:15152:22: warning: Access to field 'target_id' results in a dereference of a null pointer (loaded from variable 'scsiq') target_bit = ADV_TID_TO_TIDMASK(scsiq->target_id); ^ ~~~~~ ../linux/src/drivers/scsi/advansys.c:3097:45: note: expanded from macro 'ADV_TID_TO_TIDMASK' #define ADV_TID_TO_TIDMASK(tid) (0x01 << ((tid) & ADV_MAX_TID)) ^ ../linux/src/drivers/scsi/advansys.c:15284:5: warning: Value stored to 'last_int_level' is never read last_int_level = DvcEnterCritical(); ^ ~~~~~~~~~~~~~~~~~~ 34 warnings generated. CC linux/src/drivers/scsi/liblinux_a-aha152x.o ../linux/src/drivers/scsi/aha152x.c: In function ‘aha152x_intr’: ../linux/src/drivers/scsi/aha152x.c:2071:17: warning: pointer targets in passing argument 1 of ‘print_msg’ differ in signedness [-Wpointer-sign] printk("inbound SDTR: "); print_msg(buffer); ^ In file included from ../linux/src/drivers/scsi/aha152x.c:342:0: ../linux/src/drivers/scsi/constants.h:3:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ extern int print_msg(unsigned char *); ^ CC linux/src/drivers/scsi/liblinux_a-aha1542.o ../linux/src/drivers/scsi/aha1542.c:309:5: warning: Value stored to 'debug' is never read debug = 1; ^ ~ ../linux/src/drivers/scsi/aha1542.c:313:5: warning: Value stored to 'debug' is never read debug = 2; ^ ~ ../linux/src/drivers/scsi/aha1542.c:323:5: warning: Value stored to 'debug' is never read debug = 3; ^ ~ ../linux/src/drivers/scsi/aha1542.c:333:5: warning: Value stored to 'debug' is never read debug = 8; ^ ~ ../linux/src/drivers/scsi/aha1542.c:337:5: warning: Value stored to 'debug' is never read debug = 9; ^ ~ ../linux/src/drivers/scsi/aha1542.c:342:5: warning: Value stored to 'debug' is never read debug = 10; ^ ~~ ../linux/src/drivers/scsi/aha1542.c:725:5: warning: Value stored to 'i' is never read i = inb(DATA(base_io)); ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/aha1542.c:828:5: warning: Value stored to 'i' is never read i = inb(DATA(base_io)); ^ ~~~~~~~~~~~~~~~~~~ 8 warnings generated. CC linux/src/drivers/scsi/liblinux_a-aha1740.o ../linux/src/drivers/scsi/aha1740.c:200:5: warning: Value stored to 'tmp' is never read tmp = inb(HID2(base)); ^ ~~~~~~~~~~~~~~~ 1 warning generated. CC linux/src/drivers/scsi/liblinux_a-dtc.o In file included from ../linux/src/drivers/scsi/dtc.c:84:0: ../linux/src/drivers/scsi/NCR5380.h:367:8: warning: extra tokens at end of #endif directive [enabled by default] #endif __KERNEL_ ^ In file included from ../linux/src/drivers/scsi/dtc.c:393:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘NCR5380_print’: ../linux/src/drivers/scsi/NCR5380.c:369:27: warning: variable ‘data’ set but not used [-Wunused-but-set-variable] unsigned char status, data, basr, mr, icr, i; ^ In file included from ../linux/src/drivers/scsi/dtc.c:82:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘dtc_abort’: ../linux/src/drivers/scsi/dtc.h:122:29: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] volatile unsigned char *base ^ ../linux/src/drivers/scsi/NCR5380.c:3043:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ ../linux/src/drivers/scsi/NCR5380.c: In function ‘dtc_reset’: ../linux/src/drivers/scsi/dtc.h:122:29: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] volatile unsigned char *base ^ ../linux/src/drivers/scsi/NCR5380.c:3238:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ In file included from ../linux/src/drivers/scsi/dtc.c:393: ../linux/src/drivers/scsi/NCR5380.c:372:5: warning: Value stored to 'data' is never read data = NCR5380_read(CURRENT_SCSI_DATA_REG); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/NCR5380.c:2542:7: warning: Value stored to 'sink' is never read sink = 1; ^ ~ 2 warnings generated. CC linux/src/drivers/scsi/liblinux_a-eata.o ../linux/src/drivers/scsi/eata.c:898:18: warning: The left operand of '!=' is a garbage value if (info.sign != EATA_SIGNATURE) return FALSE; ~~~~~~~~~ ^ ../linux/src/drivers/scsi/eata.c:1944:18: warning: Declared variable-length array (VLA) has zero size unsigned long sl[n_ready], pl[n_ready], ll[n_ready]; ^ ~~~~~~~ 2 warnings generated. CC linux/src/drivers/scsi/liblinux_a-eata_pio.o ../linux/src/drivers/scsi/eata_pio.c: In function ‘eata_pio_int_handler’: ../linux/src/drivers/scsi/eata_pio.c:145:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (stat&HA_SDRQ) ^ ../linux/src/drivers/scsi/eata_pio.c:114:10: warning: variable ‘eata_stat’ set but not used [-Wunused-but-set-variable] uint eata_stat = 0xfffff; ^ ../linux/src/drivers/scsi/eata_pio.c: In function ‘eata_pio_queue’: ../linux/src/drivers/scsi/eata_pio.c:355:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd->host_scribble = (char *)&hd->ccb[y]; ^ ../linux/src/drivers/scsi/eata_pio.c: In function ‘register_pio_HBA’: ../linux/src/drivers/scsi/eata_pio.c:728:5: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(SD(sh)->vendor, &buff[8], 8); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/src/drivers/scsi/eata_pio.c:43: ./linux/dev/include/asm/string.h:46:22: note: expected ‘char *’ but argument is of type ‘__u8 *’ extern inline char * strncpy(char * dest,const char *src,size_t count) ^ ../linux/src/drivers/scsi/eata_pio.c:730:5: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] strncpy(SD(sh)->name, &buff[16], 17); ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/src/drivers/scsi/eata_pio.c:43: ./linux/dev/include/asm/string.h:46:22: note: expected ‘char *’ but argument is of type ‘__u8 *’ extern inline char * strncpy(char * dest,const char *src,size_t count) ^ ../linux/src/drivers/scsi/eata_pio.c:777:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sh->base = (char *) base; ^ ../linux/src/drivers/scsi/eata_pio.c: In function ‘find_pio_PCI’: ../linux/src/drivers/scsi/eata_pio.c:917:12: warning: pointer targets in passing argument 4 of ‘pcibios_read_config_dword’ differ in signedness [-Wpointer-sign] PCI_BASE_ADDRESS_0, (int *) &base))){ ^ In file included from ../linux/src/drivers/scsi/eata_pio.c:48:0: ../linux/src/include/linux/bios32.h:51:12: note: expected ‘unsigned int *’ but argument is of type ‘int *’ extern int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn, ^ In file included from ../linux/src/drivers/scsi/eata_pio.c:82: ../linux/src/drivers/scsi/eata_pio_proc.c:52:18: warning: Value stored to 'pos' is never read len += size; pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:55:18: warning: Value stored to 'pos' is never read len += size; pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:60:5: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:64:5: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:67:5: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:70:5: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio_proc.c:89:5: warning: Value stored to 'pos' is never read pos = begin + len; ^ ~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio.c:227:6: warning: Value stored to 'eata_stat' is never read eata_stat = inb(base + HA_RSTATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/eata_pio.c:658:29: warning: Branch condition evaluates to a garbage value for (z = 0; z < 511 && buffer[z]; z++) ^~~~~~~~~ 9 warnings generated. CC linux/src/drivers/scsi/liblinux_a-fdomain.o ../linux/src/drivers/scsi/fdomain.c:1796:39: warning: Access to field 'host' results in a dereference of a null pointer (loaded from variable 'SCpnt') printk( "%s\n", fdomain_16x0_info( SCpnt->host ) ); ^~~~~ 1 warning generated. CC linux/src/drivers/scsi/liblinux_a-in2000.o ../linux/src/drivers/scsi/in2000.c:1177:13: warning: Value stored to 'sr' is never read sr = read_3393(hostdata,WD_SCSI_STATUS); /* clear interrupt */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/in2000.c:1194:10: warning: Value stored to 'sr' is never read sr = read_3393(hostdata,WD_SCSI_STATUS); /* clear interrupt */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/in2000.c:1633:7: warning: Value stored to 'x' is never read x = read1_io(IO_HARDWARE); ^ ~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/in2000.c:1635:4: warning: Value stored to 'x' is never read x = read_3393(hostdata,WD_SCSI_STATUS); /* clear any WD intrpt */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CC linux/src/drivers/scsi/liblinux_a-ncr53c8xx.o ../linux/src/drivers/scsi/ncr53c8xx.c: In function ‘ncr_attach’: ../linux/src/drivers/scsi/ncr53c8xx.c:4529:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] instance->base = (char *) np->reg; ^ ../linux/src/drivers/scsi/ncr53c8xx.c: In function ‘insert_into_waiting_list’: ../linux/src/drivers/scsi/ncr53c8xx.c:9848:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] wcmd->next_wcmd = (char *) cmd; ^ ../linux/src/drivers/scsi/ncr53c8xx.c:3885:53: warning: Access to field 'host' results in a dereference of a null pointer (loaded from variable 'cmd') struct host_data *host_data = (struct host_data *) cmd->host->hostdata; ^~~ ../linux/src/drivers/scsi/ncr53c8xx.c:5625:2: warning: Value stored to 'cmd' is never read cmd = cp->cmd; ^ ~~~~~~~ ../linux/src/drivers/scsi/ncr53c8xx.c:8571:2: warning: Dereference of null pointer OUTL (nc_temp, ncr_wr); ^~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/ncr53c8xx.c:907:22: note: expanded from macro 'OUTL' #define OUTL(r, val) OUTL_OFF (offsetof(struct ncr_reg,r), (val)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/ncr53c8xx.c:895:26: note: expanded from macro 'OUTL_OFF' #define OUTL_OFF(o, val) writel_raw((val), (char *)np->reg + (o)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/ncr53c8xx.h:368:20: note: expanded from macro 'writel_raw' #define writel_raw writel ^ ./linux/src/include/asm/io.h:76:61: note: expanded from macro 'writel' #define writel(b,addr) ((*(volatile unsigned int *) (addr)) = (b)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../linux/src/drivers/scsi/ncr53c8xx.c:8873:2: warning: Value stored to 'f1' is never read f1 = 40000; ^ ~~~~~ ../linux/src/drivers/scsi/ncr53c8xx.c:8960:3: warning: Value stored to 'val' is never read val = 0; ^ ~ 5 warnings generated. CC linux/src/drivers/scsi/liblinux_a-pas16.o In file included from ../linux/src/drivers/scsi/pas16.c:119:0: ../linux/src/drivers/scsi/NCR5380.h:367:8: warning: extra tokens at end of #endif directive [enabled by default] #endif __KERNEL_ ^ In file included from ../linux/src/drivers/scsi/pas16.c:568:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘NCR5380_print’: ../linux/src/drivers/scsi/NCR5380.c:369:27: warning: variable ‘data’ set but not used [-Wunused-but-set-variable] unsigned char status, data, basr, mr, icr, i; ^ In file included from ../linux/src/drivers/scsi/pas16.c:568:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘NCR5380_transfer_dma’: ../linux/src/drivers/scsi/NCR5380.c:2243:13: warning: variable ‘timeout’ set but not used [-Wunused-but-set-variable] int timeout; ^ In file included from ../linux/src/drivers/scsi/pas16.c:117:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘pas16_abort’: ../linux/src/drivers/scsi/pas16.h:160:29: warning: variable ‘io_port’ set but not used [-Wunused-but-set-variable] volatile unsigned short io_port ^ ../linux/src/drivers/scsi/NCR5380.c:3043:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ ../linux/src/drivers/scsi/NCR5380.c: In function ‘pas16_reset’: ../linux/src/drivers/scsi/pas16.h:160:29: warning: variable ‘io_port’ set but not used [-Wunused-but-set-variable] volatile unsigned short io_port ^ ../linux/src/drivers/scsi/NCR5380.c:3238:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ In file included from ../linux/src/drivers/scsi/pas16.c:568: ../linux/src/drivers/scsi/NCR5380.c:372:5: warning: Value stored to 'data' is never read data = NCR5380_read(CURRENT_SCSI_DATA_REG); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/NCR5380.c:2253:3: warning: Value stored to 'timeout' is never read timeout = 20000; ^ ~~~~~ ../linux/src/drivers/scsi/NCR5380.c:2542:7: warning: Value stored to 'sink' is never read sink = 1; ^ ~ 3 warnings generated. CC linux/src/drivers/scsi/liblinux_a-ppa.o ../linux/src/drivers/scsi/ppa.c: In function ‘ppa_send_command’: ../linux/src/drivers/scsi/ppa.c:829:2: warning: pointer targets in passing argument 2 of ‘ppa_out’ differ in signedness [-Wpointer-sign] if (!ppa_out(host_no, &cmd->cmnd[k], 1)) ^ ../linux/src/drivers/scsi/ppa.c:590:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int ppa_out(int host_no, char *buffer, int len) ^ ../linux/src/drivers/scsi/ppa.c: In function ‘ppa_interrupt’: ../linux/src/drivers/scsi/ppa.c:950:30: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] printk("ppa: parity error (???)\n"); ^ ../linux/src/drivers/scsi/ppa.c:959:31: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] printk("ppa: bad interrupt (???)\n"); ^ ../linux/src/drivers/scsi/ppa.c: In function ‘ppa_engine’: ../linux/src/drivers/scsi/ppa.c:1012:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (retv) ^ ../linux/src/drivers/scsi/ppa.c:1074:2: warning: pointer targets in passing argument 2 of ‘ppa_in’ differ in signedness [-Wpointer-sign] if (ppa_in(host_no, &l, 1)) { /* read status byte */ ^ ../linux/src/drivers/scsi/ppa.c:647:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int ppa_in(int host_no, char *buffer, int len) ^ ../linux/src/drivers/scsi/ppa.c:1077:3: warning: pointer targets in passing argument 2 of ‘ppa_in’ differ in signedness [-Wpointer-sign] ppa_in(host_no, &h, 1); ^ ../linux/src/drivers/scsi/ppa.c:647:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static int ppa_in(int host_no, char *buffer, int len) ^ CC linux/src/drivers/scsi/liblinux_a-qlogicfas.o ../linux/src/drivers/scsi/qlogicfas.c:406:3: warning: Value stored to 'k' is never read k = inb(qbase + 5); /* should be 0x10, bus service */ ^ ~~~~~~~~~~~~~~ 1 warning generated. CC linux/src/drivers/scsi/liblinux_a-qlogicisp.o ../linux/src/drivers/scsi/qlogicisp.c: In function ‘isp1020_release’: ../linux/src/drivers/scsi/qlogicisp.c:664:27: warning: variable ‘hostdata’ set but not used [-Wunused-but-set-variable] struct isp1020_hostdata *hostdata; ^ ../linux/src/drivers/scsi/qlogicisp.c: In function ‘isp1020_abort’: ../linux/src/drivers/scsi/qlogicisp.c:1028:27: warning: variable ‘hostdata’ set but not used [-Wunused-but-set-variable] struct isp1020_hostdata *hostdata; ^ ../linux/src/drivers/scsi/qlogicisp.c:668:2: warning: Value stored to 'hostdata' is never read hostdata = (struct isp1020_hostdata *) host->hostdata; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/qlogicisp.c:1035:2: warning: Value stored to 'hostdata' is never read hostdata = (struct isp1020_hostdata *) host->hostdata; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/qlogicisp.c:1683:16: warning: Function call argument is an uninitialized value case 6: outw(param[5], host->io_port + MBOX5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:178:2: note: expanded from macro 'outw' __outw((val),(port))) ^ ~~~~~ ../linux/src/drivers/scsi/qlogicisp.c:1684:16: warning: Function call argument is an uninitialized value case 5: outw(param[4], host->io_port + MBOX4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:178:2: note: expanded from macro 'outw' __outw((val),(port))) ^ ~~~~~ ../linux/src/drivers/scsi/qlogicisp.c:1685:16: warning: Function call argument is an uninitialized value case 4: outw(param[3], host->io_port + MBOX3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:178:2: note: expanded from macro 'outw' __outw((val),(port))) ^ ~~~~~ ../linux/src/drivers/scsi/qlogicisp.c:1686:16: warning: Function call argument is an uninitialized value case 3: outw(param[2], host->io_port + MBOX2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:178:2: note: expanded from macro 'outw' __outw((val),(port))) ^ ~~~~~ 6 warnings generated. CC linux/src/drivers/scsi/liblinux_a-seagate.o ../linux/src/drivers/scsi/seagate.c: In function ‘internal_command’: ../linux/src/drivers/scsi/seagate.c:1104:4: warning: passing argument 1 of ‘phys_to_virt’ makes integer from pointer without a cast [enabled by default] unsigned int *iop = phys_to_virt (st0x_dr); ^ In file included from ../linux/src/drivers/scsi/seagate.c:57:0: ./linux/src/include/asm/io.h:53:22: note: expected ‘long unsigned int’ but argument is of type ‘volatile void *’ extern inline void * phys_to_virt(unsigned long address) ^ ../linux/src/drivers/scsi/seagate.c:1190:4: warning: passing argument 1 of ‘phys_to_virt’ makes integer from pointer without a cast [enabled by default] const unsigned int *iop = phys_to_virt (st0x_dr); ^ In file included from ../linux/src/drivers/scsi/seagate.c:57:0: ./linux/src/include/asm/io.h:53:22: note: expected ‘long unsigned int’ but argument is of type ‘volatile void *’ extern inline void * phys_to_virt(unsigned long address) ^ ../linux/src/drivers/scsi/seagate.c:658:29: warning: variable ‘underflow’ set but not used [-Wunused-but-set-variable] unsigned transfersize = 0, underflow = 0; ^ ../linux/src/drivers/scsi/seagate.c:823:3: warning: Value stored to 'clock' is never read clock = jiffies + ST0X_BUS_FREE_DELAY; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/seagate.c:1012:2: warning: Value stored to 'underflow' is never read underflow = SCint->underflow; ^ ~~~~~~~~~~~~~~~~ 2 warnings generated. CC linux/src/drivers/scsi/liblinux_a-sym53c8xx.o ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘ncr_attach’: ../linux/src/drivers/scsi/sym53c8xx.c:5863:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] instance->base = (char *) np->reg; ^ ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘ncr_queue_done_cmd’: ../linux/src/drivers/scsi/sym53c8xx.c:5993:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd->host_scribble = (char *) np->done_list; ^ ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘ncr_complete’: ../linux/src/drivers/scsi/sym53c8xx.c:7389:12: warning: pointer targets in passing argument 4 of ‘ncr_setup_lcb’ differ in signedness [-Wpointer-sign] (char *) cmd->request_buffer); ^ ../linux/src/drivers/scsi/sym53c8xx.c:2459:14: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static lcb_p ncr_setup_lcb (ncb_p np, u_char tn, u_char ln, ^ ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘ncr_compute_residual’: ../linux/src/drivers/scsi/sym53c8xx.c:10584:13: warning: variable ‘dp_sgmin’ set but not used [-Wunused-but-set-variable] int dp_sg, dp_sgmin, tmp; ^ ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘sym53c8xx_pci_init’: ../linux/src/drivers/scsi/sym53c8xx.c:13028:10: warning: variable ‘vendor_id’ set but not used [-Wunused-but-set-variable] u_short vendor_id, device_id, command, status_reg; ^ ../linux/src/drivers/scsi/sym53c8xx.c: In function ‘insert_into_waiting_list’: ../linux/src/drivers/scsi/sym53c8xx.c:13827:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] wcmd->next_wcmd = (char *) cmd; ^ ../linux/src/drivers/scsi/sym53c8xx.c:4686:5: warning: Value stored to 'new' is never read new = 0; /* For 'cc' not to complain */ ^ ~ ../linux/src/drivers/scsi/sym53c8xx.c:8034:8: warning: Value stored to 'cp' during its initialization is never read ccb_p cp = np->ccbc; ^~ ~~~~~~~~ ../linux/src/drivers/scsi/sym53c8xx.c:10634:2: warning: Value stored to 'dp_sgmin' is never read dp_sgmin = MAX_SCATTER - cp->segments; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sym53c8xx.c:12196:2: warning: Dereference of null pointer OUTL (nc_temp, ncr_wr); ^~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sym53c8xx_defs.h:608:22: note: expanded from macro 'OUTL' #define OUTL(r, val) OUTL_OFF (offsetof(struct ncr_reg,r), (val)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sym53c8xx_defs.h:596:26: note: expanded from macro 'OUTL_OFF' #define OUTL_OFF(o, val) writel_raw((val), (char *)np->reg + (o)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/sym53c8xx_defs.h:422:59: note: expanded from macro 'writel_raw' #define writel_raw(b,a) ((*(volatile unsigned int *) (a)) = (b)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../linux/src/drivers/scsi/sym53c8xx.c:12404:2: warning: Value stored to 'f1' is never read f1 = 40000; ^ ~~~~~ ../linux/src/drivers/scsi/sym53c8xx.c:12597:3: warning: Value stored to 'val' is never read val = 0; ^ ~ ../linux/src/drivers/scsi/sym53c8xx.c:12611:8: warning: Branch condition evaluates to a garbage value if (pe && *pe == '/') { ^~ ../linux/src/drivers/scsi/sym53c8xx.c:13056:2: warning: Value stored to 'vendor_id' is never read vendor_id = PciVendorId(pdev); ^ ~~~~~~~~~~~~~~~~~ 8 warnings generated. CC linux/src/drivers/scsi/liblinux_a-t128.o In file included from ../linux/src/drivers/scsi/t128.c:114:0: ../linux/src/drivers/scsi/NCR5380.h:367:8: warning: extra tokens at end of #endif directive [enabled by default] #endif __KERNEL_ ^ In file included from ../linux/src/drivers/scsi/t128.c:393:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘NCR5380_print’: ../linux/src/drivers/scsi/NCR5380.c:369:27: warning: variable ‘data’ set but not used [-Wunused-but-set-variable] unsigned char status, data, basr, mr, icr, i; ^ In file included from ../linux/src/drivers/scsi/t128.c:393:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘NCR5380_transfer_dma’: ../linux/src/drivers/scsi/NCR5380.c:2243:13: warning: variable ‘timeout’ set but not used [-Wunused-but-set-variable] int timeout; ^ In file included from ../linux/src/drivers/scsi/t128.c:112:0: ../linux/src/drivers/scsi/NCR5380.c: In function ‘t128_abort’: ../linux/src/drivers/scsi/t128.h:134:29: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] volatile unsigned char *base ^ ../linux/src/drivers/scsi/NCR5380.c:3043:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ ../linux/src/drivers/scsi/NCR5380.c: In function ‘t128_reset’: ../linux/src/drivers/scsi/t128.h:134:29: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] volatile unsigned char *base ^ ../linux/src/drivers/scsi/NCR5380.c:3238:5: note: in expansion of macro ‘NCR5380_local_declare’ NCR5380_local_declare(); ^ In file included from ../linux/src/drivers/scsi/t128.c:393: ../linux/src/drivers/scsi/NCR5380.c:372:5: warning: Value stored to 'data' is never read data = NCR5380_read(CURRENT_SCSI_DATA_REG); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/NCR5380.c:2253:3: warning: Value stored to 'timeout' is never read timeout = 20000; ^ ~~~~~ ../linux/src/drivers/scsi/NCR5380.c:2542:7: warning: Value stored to 'sink' is never read sink = 1; ^ ~ 3 warnings generated. CC linux/src/drivers/scsi/liblinux_a-tmscsim.o ../linux/src/drivers/scsi/tmscsim.c: In function ‘DC390_queue_command’: ../linux/src/drivers/scsi/tmscsim.c:571:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pSRB->Segmentx.address = (PUCHAR) pcmd->request_buffer; ^ ../linux/src/drivers/scsi/tmscsim.c:447:12: warning: variable ‘ioport’ set but not used [-Wunused-but-set-variable] USHORT ioport, i; ^ ../linux/src/drivers/scsi/tmscsim.c: In function ‘DoNextCmd’: ../linux/src/drivers/scsi/tmscsim.c:644:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pSRB->Segmentx.address = (PUCHAR) pcmd->request_buffer; ^ In file included from ../linux/src/drivers/scsi/tmscsim.c:966:0: ../linux/src/drivers/scsi/scsiiom.c: In function ‘DC390_Interrupt’: ../linux/src/drivers/scsi/scsiiom.c:192:12: warning: variable ‘istate’ set but not used [-Wunused-but-set-variable] UCHAR istate = 0; ^ ../linux/src/drivers/scsi/scsiiom.c: In function ‘SRBdone’: ../linux/src/drivers/scsi/scsiiom.c:1152:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pSRB->Segmentx.address = (PUCHAR) pcmd->request_buffer; ^ ../linux/src/drivers/scsi/scsiiom.c:1213:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pSRB->Segmentx.address = (PUCHAR) pcmd->request_buffer; ^ ../linux/src/drivers/scsi/scsiiom.c: In function ‘RequestSense’: ../linux/src/drivers/scsi/scsiiom.c:1486:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pSRB->Segmentx.address = (PUCHAR) &(pcmd->sense_buffer); ^ ../linux/src/drivers/scsi/tmscsim.c: In function ‘DC390_initAdapter’: ../linux/src/drivers/scsi/tmscsim.c:1164:12: warning: variable ‘pACB’ set but not used [-Wunused-but-set-variable] PACB pACB, pacb; ^ ../linux/src/drivers/scsi/tmscsim.c: In function ‘DC390_detect’: ../linux/src/drivers/scsi/tmscsim.c:1630:13: warning: variable ‘istatus’ set but not used [-Wunused-but-set-variable] UCHAR istatus; ^ ../linux/src/drivers/scsi/tmscsim.c:458:5: warning: Value stored to 'ioport' is never read ioport = pACB->IOPortBase; ^ ~~~~~~~~~~~~~~~~ In file included from ../linux/src/drivers/scsi/tmscsim.c:966: ../linux/src/drivers/scsi/scsiiom.c:225:5: warning: Value stored to 'istate' is never read istate = inb( ioport+Intern_State ); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/tmscsim.c:1199:5: warning: Value stored to 'pACB' is never read pACB = (PACB) psh->hostdata; ^ ~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/tmscsim.c:1670:4: warning: Value stored to 'istatus' is never read istatus = inb( (USHORT)io_port+INT_Status ); /* Reset Pending INT */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. CC linux/src/drivers/scsi/liblinux_a-u14-34f.o ../linux/src/drivers/scsi/u14-34f.c:763:10: warning: Array subscript is undefined irq = interrupt_table[config_1.interrupt]; ^ ~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/scsi/u14-34f.c:1620:18: warning: Declared variable-length array (VLA) has zero size unsigned long sl[n_ready], pl[n_ready], ll[n_ready]; ^ ~~~~~~~ ../linux/src/drivers/scsi/u14-34f.c:1815:12: warning: Access to field 'SCpnt' results in a dereference of a null pointer (loaded from variable 'cpp') SCpnt = cpp->SCpnt; ^~~ 3 warnings generated. CC linux/src/drivers/scsi/liblinux_a-ultrastor.o ../linux/src/drivers/scsi/ultrastor.c:460:24: warning: Array subscript is undefined config.interrupt = interrupt_table_14f[config_1.interrupt]; ^ ~~~~~~~~~~~~~~~~~~ 1 warning generated. CC linux/src/drivers/scsi/liblinux_a-wd7000.o CC linux/dev/drivers/net/liblinux_a-auto_irq.o CC linux/dev/glue/liblinux_a-net.o ../linux/dev/glue/net.c: In function ‘dev_alloc_skb’: ../linux/dev/glue/net.c:236:7: warning: assignment from incompatible pointer type [enabled by default] skb = bptr; ^ ../linux/dev/glue/net.c: In function ‘netif_rx’: ../linux/dev/glue/net.c:312:8: warning: implicit declaration of function ‘ethernet_priority’ [-Wimplicit-function-declaration] ph->length, ethernet_priority (kmsg)); ^ ../linux/dev/glue/net.c: In function ‘device_open’: ../linux/dev/glue/net.c:378:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ifp->if_address = dev->dev_addr; ^ ../linux/dev/glue/net.c:379:7: warning: implicit declaration of function ‘if_init_queues’ [-Wimplicit-function-declaration] if_init_queues (ifp); ^ ../linux/dev/glue/net.c: In function ‘device_set_filter’: ../linux/dev/glue/net.c:662:3: warning: implicit declaration of function ‘net_set_filter’ [-Wimplicit-function-declaration] return net_set_filter (&((struct net_data *) d)->ifnet, ^ CC linux/dev/drivers/net/liblinux_a-Space.o CC linux/dev/net/core/liblinux_a-dev.o In file included from ../linux/dev/net/core/dev.c:57:0: ./linux/dev/include/asm/system.h:192:42: warning: ‘__xchg’ is static but used in inline function ‘sock_error’ which is not static [enabled by default] #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) ^ ../linux/src/include/net/sock.h:592:10: note: in expansion of macro ‘xchg’ int err=xchg(&sk->err,0); ^ In file included from ../linux/src/include/net/ip.h:34:0, from ../linux/dev/net/core/dev.c:75: ../linux/src/include/net/sock.h:578:2: warning: ‘atomic_add’ is static but used in inline function ‘__sock_queue_rcv_skb’ which is not static [enabled by default] atomic_add(skb->truesize, &sk->rmem_alloc); ^ ../linux/src/include/net/sock.h:566:2: warning: ‘atomic_add’ is static but used in inline function ‘sock_queue_rcv_skb’ which is not static [enabled by default] atomic_add(skb->truesize, &sk->rmem_alloc); ^ In file included from ../linux/src/include/net/ip.h:28:0, from ../linux/dev/net/core/dev.c:75: ../linux/src/include/net/route.h:161:4: warning: ‘atomic_inc’ is static but used in inline function ‘ip_rt_route’ which is not static [enabled by default] atomic_inc(&rth->rt_refcnt); ^ ../linux/src/include/net/route.h:160:4: warning: ‘atomic_inc’ is static but used in inline function ‘ip_rt_route’ which is not static [enabled by default] atomic_inc(&rth->rt_use); ^ ../linux/src/include/net/route.h:137:10: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘ip_rt_put’ which is not static [enabled by default] if (rt&&atomic_dec_and_test(&rt->rt_refcnt)&&(rt->rt_flags&RTF_NOTCACHED)) ^ ../linux/src/include/net/route.h:120:6: warning: ‘atomic_dec_and_test’ is static but used in inline function ‘ip_rt_unlock’ which is not static [enabled by default] if (atomic_dec_and_test(&ip_rt_lock) && ip_rt_bh_mask) ^ ../linux/src/include/net/route.h:115:2: warning: ‘atomic_dec’ is static but used in inline function ‘ip_rt_fast_unlock’ which is not static [enabled by default] atomic_dec(&ip_rt_lock); ^ ../linux/src/include/net/route.h:110:2: warning: ‘atomic_inc’ is static but used in inline function ‘ip_rt_fast_lock’ which is not static [enabled by default] atomic_inc(&ip_rt_lock); ^ CC linux/dev/drivers/net/liblinux_a-net_init.o ../linux/dev/drivers/net/net_init.c:146:12: warning: ‘eth_mac_addr’ defined but not used [-Wunused-function] static int eth_mac_addr(struct device *dev, void *p) ^ ../linux/dev/drivers/net/net_init.c:155:12: warning: ‘eth_change_mtu’ defined but not used [-Wunused-function] static int eth_change_mtu(struct device *dev, int new_mtu) ^ CC linux/src/drivers/net/liblinux_a-pci-scan.o ../linux/src/drivers/net/pci-scan.c:37:2: error: You must compile this driver with the proper options, including "-O". #error You must compile this driver with the proper options, including "-O". ^ 1 error generated. ../linux/src/drivers/net/pci-scan.c:35:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/pci-scan.c:36:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/pci-scan.c:37:2: error: You must compile this driver with the proper options, including "-O". #error You must compile this driver with the proper options, including "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-3c501.o CC linux/src/drivers/net/liblinux_a-3c503.o CC linux/src/drivers/net/liblinux_a-8390.o CC linux/src/drivers/net/liblinux_a-3c505.o ../linux/src/drivers/net/3c505.c:781:6: warning: Value stored to 'len' is never read len = adapter->irx_pcb.data.rcv_resp.pkt_len; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/3c505.c:1386:14: warning: Value stored to 'name' during its initialization is never read const char *name = dev->name; ^~~~ ~~~~~~~~~ 2 warnings generated. CC linux/src/drivers/net/liblinux_a-3c507.o ../linux/src/drivers/net/3c507.c: In function ‘el16_close’: ../linux/src/drivers/net/3c507.c:620:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ushort *shmem = (short*)dev->mem_start; ^ ../linux/src/drivers/net/3c507.c: In function ‘init_82586_mem’: ../linux/src/drivers/net/3c507.c:708:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ushort *shmem = (short*)dev->mem_start; ^ ../linux/src/drivers/net/3c507.c: In function ‘el16_rx’: ../linux/src/drivers/net/3c507.c:819:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ushort *read_frame = (short *)(dev->mem_start + rx_head); ^ ../linux/src/drivers/net/3c507.c:823:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ushort *data_frame = (short *)(dev->mem_start + data_buffer_addr); ^ CC linux/src/drivers/net/liblinux_a-3c509.o CC linux/src/drivers/net/liblinux_a-3c59x.o ../linux/src/drivers/net/3c59x.c: In function ‘boomerang_start_xmit’: ../linux/src/drivers/net/3c59x.c:1779:23: warning: variable ‘prev_entry’ set but not used [-Wunused-but-set-variable] struct boom_tx_desc *prev_entry; ^ ../linux/src/drivers/net/3c59x.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/3c59x.c:2414:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] int filter_bit = ether_crc(ETH_ALEN, mclist->dmi_addr) & 0xff; ^ ../linux/src/drivers/net/3c59x.c:2378:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/3c59x.c:90:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/3c59x.c:88:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/3c59x.c:89:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/3c59x.c:90:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-3c515.o CC linux/src/drivers/net/liblinux_a-ac3200.o CC linux/src/drivers/net/liblinux_a-apricot.o ../linux/src/drivers/net/apricot.c: In function ‘init_i596_mem’: ../linux/src/drivers/net/apricot.c:266:18: warning: assignment discards ‘volatile’ qualifier from pointer target type [enabled by default] lp->scp.iscp = &(lp->iscp); ^ ../linux/src/drivers/net/apricot.c:267:18: warning: assignment discards ‘volatile’ qualifier from pointer target type [enabled by default] lp->iscp.scb = &(lp->scb); ^ ../linux/src/drivers/net/apricot.c:291:5: warning: passing argument 2 of ‘i596_add_cmd’ discards ‘volatile’ qualifier from pointer target type [enabled by default] i596_add_cmd(dev, &lp->set_conf); ^ ../linux/src/drivers/net/apricot.c:189:13: note: expected ‘struct i596_cmd *’ but argument is of type ‘volatile struct i596_cmd *’ static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd); ^ ../linux/src/drivers/net/apricot.c:295:5: warning: passing argument 2 of ‘i596_add_cmd’ discards ‘volatile’ qualifier from pointer target type [enabled by default] i596_add_cmd(dev, &lp->set_add); ^ ../linux/src/drivers/net/apricot.c:189:13: note: expected ‘struct i596_cmd *’ but argument is of type ‘volatile struct i596_cmd *’ static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd); ^ ../linux/src/drivers/net/apricot.c:298:5: warning: passing argument 2 of ‘i596_add_cmd’ discards ‘volatile’ qualifier from pointer target type [enabled by default] i596_add_cmd(dev, &lp->tdr); ^ ../linux/src/drivers/net/apricot.c:189:13: note: expected ‘struct i596_cmd *’ but argument is of type ‘volatile struct i596_cmd *’ static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd); ^ ../linux/src/drivers/net/apricot.c: In function ‘i596_cleanup_cmd’: ../linux/src/drivers/net/apricot.c:419:18: warning: unused variable ‘count’ [-Wunused-variable] unsigned short count = *((unsigned short *) (ptr + 1)); ^ ../linux/src/drivers/net/apricot.c: In function ‘i596_interrupt’: ../linux/src/drivers/net/apricot.c:829:22: warning: unused variable ‘count’ [-Wunused-variable] unsigned short count = *((unsigned short *) (ptr + 1)); ^ ../linux/src/drivers/net/apricot.c: In function ‘set_multicast_list’: ../linux/src/drivers/net/apricot.c:999:3: warning: passing argument 2 of ‘i596_add_cmd’ discards ‘volatile’ qualifier from pointer target type [enabled by default] i596_add_cmd(dev, &lp->set_conf); ^ ../linux/src/drivers/net/apricot.c:482:13: note: expected ‘struct i596_cmd *’ but argument is of type ‘volatile struct i596_cmd *’ static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd) ^ ../linux/src/drivers/net/apricot.c:419:18: warning: Value stored to 'count' during its initialization is never read unsigned short count = *((unsigned short *) (ptr + 1)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/apricot.c:545:5: warning: Value stored to 'i' is never read i = init_rx_bufs(dev, RX_RING_SIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/apricot.c:829:22: warning: Value stored to 'count' during its initialization is never read unsigned short count = *((unsigned short *) (ptr + 1)); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC linux/src/drivers/net/liblinux_a-at1700.o ../linux/src/drivers/net/at1700.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/at1700.c:692:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) >> 26, ^ ../linux/src/drivers/net/at1700.c:646:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/at1700.c:703:4: warning: Function call argument is an uninitialized value outb(mc_filter[i], ioaddr + 8 + i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:158:2: note: expanded from macro 'outb' __outb((val),(port))) ^ ~~~~~ 1 warning generated. CC linux/src/drivers/net/liblinux_a-de4x5.o ../linux/src/drivers/net/de4x5.c: In function ‘de4x5_queue_pkt’: ../linux/src/drivers/net/de4x5.c:1550:6: warning: pointer targets in passing argument 2 of ‘load_packet’ differ in signedness [-Wpointer-sign] load_packet(dev, skb->data, TD_IC | TD_LS | TD_FS | skb->len, skb); ^ ../linux/src/drivers/net/de4x5.c:920:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static void load_packet(struct device *dev, char *buf, u32 flags, struct sk_buff *skb); ^ ../linux/src/drivers/net/de4x5.c: In function ‘de4x5_rx’: ../linux/src/drivers/net/de4x5.c:1706:7: warning: pointer targets in passing argument 2 of ‘de4x5_local_stats’ differ in signedness [-Wpointer-sign] de4x5_local_stats(dev, skb->data, pkt_len); ^ ../linux/src/drivers/net/de4x5.c:900:16: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static void de4x5_local_stats(struct device *dev, char *buf, int pkt_len); ^ ../linux/src/drivers/net/de4x5.c: In function ‘SetMulticastFilter’: ../linux/src/drivers/net/de4x5.c:2000:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] addrs=dmi->dmi_addr; ^ ../linux/src/drivers/net/de4x5.c:2024:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] addrs=dmi->dmi_addr; ^ ../linux/src/drivers/net/de4x5.c: In function ‘pci_probe’: ../linux/src/drivers/net/de4x5.c:2176:6: warning: pointer targets in passing argument 4 of ‘pcibios_read_config_dword’ differ in signedness [-Wpointer-sign] pcibios_read_config_dword(pb, PCI_DEVICE, PCI_REVISION_ID, &cfrv); ^ In file included from ../linux/src/drivers/net/de4x5.c:423:0: ../linux/src/include/linux/bios32.h:51:12: note: expected ‘unsigned int *’ but argument is of type ‘int *’ extern int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn, ^ ../linux/src/drivers/net/de4x5.c: In function ‘srom_search’: ../linux/src/drivers/net/de4x5.c:2287:2: warning: pointer targets in passing argument 4 of ‘pcibios_read_config_dword’ differ in signedness [-Wpointer-sign] pcibios_read_config_dword(pb, PCI_DEVICE, PCI_REVISION_ID, &cfrv); ^ In file included from ../linux/src/drivers/net/de4x5.c:423:0: ../linux/src/include/linux/bios32.h:51:12: note: expected ‘unsigned int *’ but argument is of type ‘int *’ extern int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn, ^ ../linux/src/drivers/net/de4x5.c: In function ‘DevicePresent’: ../linux/src/drivers/net/de4x5.c:4061:20: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_short tmp, *p = (short *)((char *)&lp->srom + SROM_HWADD); ^ ../linux/src/drivers/net/de4x5.c:4071:3: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p=(short *)&lp->srom; ^ ../linux/src/drivers/net/de4x5.c: In function ‘mii_get_oui’: ../linux/src/drivers/net/de4x5.c:5064:13: warning: variable ‘r3’ set but not used [-Wunused-but-set-variable] int r2, r3; ^ ../linux/src/drivers/net/de4x5.c:2067:10: warning: Value stored to 'status' is never read for (status = -ENODEV; (i> 3) & 0x01; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/de4x5.c:5068:5: warning: Value stored to 'r3' is never read r3 = mii_rd(MII_ID1, phyaddr, ioaddr); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC linux/src/drivers/net/liblinux_a-de600.o CC linux/src/drivers/net/liblinux_a-de620.o CC linux/src/drivers/net/liblinux_a-depca.o ../linux/src/drivers/net/depca.c:1452:3: warning: Value stored to 'data' is never read data = inb(DEPCA_PROM); /* clear counter on DEPCA */ ^ ~~~~~~~~~~~~~~~ 1 warning generated. CC linux/src/drivers/net/liblinux_a-e2100.o CC linux/src/drivers/net/liblinux_a-eepro.o ../linux/src/drivers/net/eepro.c:412:6: warning: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'dev') dev->name, ioaddr); ^~~ ../linux/src/drivers/net/eepro.c:418:6: warning: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'dev') dev->name, ioaddr); ^~~ ../linux/src/drivers/net/eepro.c:423:6: warning: Access to field 'name' results in a dereference of a null pointer (loaded from variable 'dev') dev->name, ioaddr); ^~~ ../linux/src/drivers/net/eepro.c:430:22: warning: Assigned value is garbage or undefined dev->dev_addr[i] = ((unsigned char *) station_addr)[5-i]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/eepro.c:1191:3: warning: Value stored to 'status' is never read status = inw(ioaddr + IO_PORT); ^ ~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. CC linux/src/drivers/net/liblinux_a-eepro100.o ../linux/src/drivers/net/eepro100.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/eepro100.c:99:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/eepro100.c:100:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/eepro100.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-eexpress.o ../linux/src/drivers/net/eexpress.c: In function ‘eexp_irq’: ../linux/src/drivers/net/eexpress.c:530:18: warning: variable ‘txstatus’ set but not used [-Wunused-but-set-variable] unsigned short txstatus; ^ ../linux/src/drivers/net/eexpress.c: In function ‘eexp_hw_init586’: ../linux/src/drivers/net/eexpress.c:1092:27: warning: overflow in implicit constant conversion [-Woverflow] lp->promisc = dev->flags & IFF_PROMISC; ^ ../linux/src/drivers/net/eexpress.c:531:3: warning: Value stored to 'txstatus' is never read txstatus = eexp_hw_lasttxstat(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/eexpress.c:721:20: warning: Assigned value is garbage or undefined dev->dev_addr[i] = chw_addr[5-i]; ^ ~~~~~~~~~~~~~ 2 warnings generated. CC linux/src/drivers/net/liblinux_a-epic100.o ../linux/src/drivers/net/epic100.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/epic100.c:1266:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) & 0x3f, ^ ../linux/src/drivers/net/epic100.c:1221:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/epic100.c:93:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/epic100.c:91:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/epic100.c:92:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/epic100.c:93:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-eth16i.o CC linux/src/drivers/net/liblinux_a-ewrk3.o ../linux/src/drivers/net/ewrk3.c: In function ‘ewrk3_hw_init’: ../linux/src/drivers/net/ewrk3.c:419:7: warning: pointer targets in passing argument 2 of ‘EthwrkSignature’ differ in signedness [-Wpointer-sign] EthwrkSignature(name, eeprom_image); ^ ../linux/src/drivers/net/ewrk3.c:306:15: note: expected ‘char *’ but argument is of type ‘u_char *’ static void EthwrkSignature(char * name, char *eeprom_image); ^ ../linux/src/drivers/net/ewrk3.c: In function ‘set_multicast_list’: ../linux/src/drivers/net/ewrk3.c:1187:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] lp->mctbl = (char *) PAGE0_HTE; ^ ../linux/src/drivers/net/ewrk3.c:1189:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] lp->mctbl = (char *)(lp->shmem_base + PAGE0_HTE); ^ ../linux/src/drivers/net/ewrk3.c:1345:5: warning: Value stored to 'i' is never read i = 1; ^ ~ 1 warning generated. CC linux/src/drivers/net/liblinux_a-fmv18x.o CC linux/src/drivers/net/liblinux_a-hamachi.o ../linux/src/drivers/net/hamachi.c: In function ‘hamachi_rx’: ../linux/src/drivers/net/hamachi.c:992:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *temp = skb_put(skb = hmp->rx_skbuff[entry], pkt_len); ^ ../linux/src/drivers/net/hamachi.c:99:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/hamachi.c:97:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/hamachi.c:98:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/hamachi.c:99:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-hp-plus.o ../linux/src/drivers/net/hp-plus.c: In function ‘hpp_io_block_input’: ../linux/src/drivers/net/hp-plus.c:343:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ CC linux/src/drivers/net/liblinux_a-hp.o ../linux/src/drivers/net/hp.c: In function ‘hp_block_input’: ../linux/src/drivers/net/hp.c:281:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ CC linux/src/drivers/net/liblinux_a-hp100.o ../linux/src/drivers/net/hp100.c: In function ‘hp100_probe’: ../linux/src/drivers/net/hp100.c:388:38: warning: pointer targets in passing argument 4 of ‘pcibios_read_config_dword’ differ in signedness [-Wpointer-sign] PCI_BASE_ADDRESS_0, &ioaddr ); ^ In file included from ../linux/src/drivers/net/hp100.c:86:0: ../linux/src/include/linux/bios32.h:51:12: note: expected ‘unsigned int *’ but argument is of type ‘int *’ extern int pcibios_read_config_dword (unsigned char bus, unsigned char dev_fn, ^ ../linux/src/drivers/net/hp100.c: In function ‘hp100_start_xmit’: ../linux/src/drivers/net/hp100.c:1721:11: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] u_short val; ^ ../linux/src/drivers/net/hp100.c:656:11: warning: Value stored to 'mem_mapped' is never read mem_mapped = 0; ^ ~ ../linux/src/drivers/net/hp100.c:697:7: warning: Value stored to 'mem_mapped' is never read mem_mapped = 0; ^ ~ ../linux/src/drivers/net/hp100.c:1816:3: warning: Value stored to 'val' is never read val = hp100_inw( IRQ_STATUS ); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. CC linux/src/drivers/net/liblinux_a-intel-gige.o ../linux/src/drivers/net/intel-gige.c: In function ‘netdev_rx’: ../linux/src/drivers/net/intel-gige.c:1082:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *temp = skb_put(skb = np->rx_skbuff[entry], pkt_len); ^ ../linux/src/drivers/net/intel-gige.c:109:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/intel-gige.c:107:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/intel-gige.c:108:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/intel-gige.c:109:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-lance.o ../linux/src/drivers/net/lance.c: In function ‘lance_probe’: ../linux/src/drivers/net/lance.c:423:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (port = lance_portlist; *port; port++) { ^ ../linux/src/drivers/net/lance.c:1275:4: warning: Function call argument is an uninitialized value outw(multicast_table[i], ioaddr+LANCE_DATA); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./linux/src/include/asm/io.h:178:2: note: expanded from macro 'outw' __outw((val),(port))) ^ ~~~~~ 1 warning generated. CC linux/src/drivers/net/liblinux_a-myson803.o ../linux/src/drivers/net/myson803.c: In function ‘netdev_rx’: ../linux/src/drivers/net/myson803.c:1239:4: warning: implicit declaration of function ‘ntohs’ [-Wimplicit-function-declaration] if (0 && ntohs(skb->mac.ethernet->h_proto) >= 0x0800) { ^ ../linux/src/drivers/net/myson803.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/myson803.c:1410:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] set_bit((ether_crc(ETH_ALEN, mclist->dmi_addr) >> 26) & 0x3f, ^ ../linux/src/drivers/net/myson803.c:1372:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/myson803.c:96:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/myson803.c:94:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/myson803.c:95:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/myson803.c:96:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-natsemi.o ../linux/src/drivers/net/natsemi.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/natsemi.c:1196:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] int filterbit = ether_crc(ETH_ALEN, mclist->dmi_addr); ^ ../linux/src/drivers/net/natsemi.c:1161:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/natsemi.c:111:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/natsemi.c:109:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/natsemi.c:110:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/natsemi.c:111:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-ne.o ../linux/src/drivers/net/ne.c: In function ‘ne_block_input’: ../linux/src/drivers/net/ne.c:581:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ ../linux/src/drivers/net/ne.c:231:3: warning: Function call argument is an uninitialized value printk("ne.c: PCI BIOS reports NE 2000 clone at i/o %#x, irq %d.\n", ^ 1 warning generated. CC linux/src/drivers/net/liblinux_a-ne2k-pci.o ../linux/src/drivers/net/ne2k-pci.c: In function ‘ne2k_pci_block_input’: ../linux/src/drivers/net/ne2k-pci.c:520:14: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ ../linux/src/drivers/net/ne2k-pci.c:53:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/ne2k-pci.c:51:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/ne2k-pci.c:52:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/ne2k-pci.c:53:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-ni52.o ../linux/src/drivers/net/ni52.c: In function ‘ni52_probe’: ../linux/src/drivers/net/ni52.c:366:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (base_addr > 0x1ff) /* Check a single specified location. */ ^ ../linux/src/drivers/net/ni52.c: In function ‘ni52_send_packet’: ../linux/src/drivers/net/ni52.c:1144:97: warning: array subscript is above array bounds [-Warray-bounds] printk("%s: command-stats: %04x %04x\n",dev->name,p->xmit_cmds[0]->cmd_status,p->xmit_cmds[1]->cmd_status); ^ CC linux/src/drivers/net/liblinux_a-ni65.o CC linux/src/drivers/net/liblinux_a-ns820.o ../linux/src/drivers/net/ns820.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/ns820.c:1305:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) & 0x7ff, ^ ../linux/src/drivers/net/ns820.c:1267:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/ns820.c:115:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/ns820.c:113:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/ns820.c:114:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/ns820.c:115:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-pcnet32.o CC linux/src/drivers/net/liblinux_a-rtl8139.o ../linux/src/drivers/net/rtl8139.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/rtl8139.c:1542:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] set_bit(ether_crc(ETH_ALEN, mclist->dmi_addr) >> 26, mc_filter); ^ ../linux/src/drivers/net/rtl8139.c:1494:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/rtl8139.c:89:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/rtl8139.c:87:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/rtl8139.c:88:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/rtl8139.c:89:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-seeq8005.o ../linux/src/drivers/net/seeq8005.c: In function ‘seeq8005_send_packet’: ../linux/src/drivers/net/seeq8005.c:408:3: warning: pointer targets in passing argument 2 of ‘hardware_send_packet’ differ in signedness [-Wpointer-sign] hardware_send_packet(dev, buf, length); ^ ../linux/src/drivers/net/seeq8005.c:92:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ extern void hardware_send_packet(struct device *dev, char *buf, int length); ^ ../linux/src/drivers/net/seeq8005.c: In function ‘seeq8005_rx’: ../linux/src/drivers/net/seeq8005.c:549:16: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char * p = buf; ^ CC linux/src/drivers/net/liblinux_a-sis900.o ../linux/src/drivers/net/sis900.c: In function ‘sis900_set_capability’: ../linux/src/drivers/net/sis900.c:640:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] u16 status; ^ ../linux/src/drivers/net/sis900.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/sis900.c:1716:4: warning: pointer targets in passing argument 1 of ‘sis900_compute_hashtable_index’ differ in signedness [-Wpointer-sign] set_bit(sis900_compute_hashtable_index(mclist->dmi_addr, revision), ^ ../linux/src/drivers/net/sis900.c:1651:12: note: expected ‘u8 *’ but argument is of type ‘char *’ static u16 sis900_compute_hashtable_index(u8 *addr, u8 revision) ^ ../linux/src/drivers/net/sis900.c:599:3: warning: Value stored to 'status' is never read status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/sis900.c:621:23: warning: Access to field 'phy_addr' results in a dereference of a null pointer (loaded from variable 'default_phy') sis_priv->cur_phy = default_phy->phy_addr; ^~~~~~~~~~~ ../linux/src/drivers/net/sis900.c:629:2: warning: Value stored to 'status' is never read status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/sis900.c:642:2: warning: Value stored to 'status' is never read status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/sis900.c:643:2: warning: Value stored to 'status' is never read status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/src/drivers/net/sis900.c:1051:24: warning: The left operand of '==' is a garbage value (host_bridge_rev == SIS630B0 || host_bridge_rev == SIS630B1)) ~~~~~~~~~~~~~~~ ^ ../linux/src/drivers/net/sis900.c:1087:2: warning: Value stored to 'status' is never read status = mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. CC linux/src/drivers/net/liblinux_a-sk_g16.o CC linux/src/drivers/net/liblinux_a-smc-ultra.o ../linux/src/drivers/net/smc-ultra.c: In function ‘ultra_pio_input’: ../linux/src/drivers/net/smc-ultra.c:378:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ CC linux/src/drivers/net/liblinux_a-smc-ultra32.o CC linux/src/drivers/net/liblinux_a-starfire.o ../linux/src/drivers/net/starfire.c: In function ‘netdev_rx’: ../linux/src/drivers/net/starfire.c:1108:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *temp = skb_put(skb = np->rx_skbuff[entry], pkt_len); ^ ../linux/src/drivers/net/starfire.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/starfire.c:1294:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) >> 23, mc_filter); ^ ../linux/src/drivers/net/starfire.c:1237:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/starfire.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/starfire.c:99:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/starfire.c:100:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/starfire.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-sundance.o ../linux/src/drivers/net/sundance.c: In function ‘start_tx’: ../linux/src/drivers/net/sundance.c:990:7: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘unsigned int’ [-Wformat=] dev->name, np->cur_tx, skb->len, entry); ^ ../linux/src/drivers/net/sundance.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/sundance.c:1319:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) & 0x3f, ^ ../linux/src/drivers/net/sundance.c:1279:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/sundance.c:110:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/sundance.c:108:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/sundance.c:109:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/sundance.c:110:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-tlan.o ../linux/src/drivers/net/tlan.c: In function ‘TLan_FinishReset’: ../linux/src/drivers/net/tlan.c:2003:3: warning: pointer targets in passing argument 3 of ‘TLan_SetMac’ differ in signedness [-Wpointer-sign] TLan_SetMac( dev, 0, dev->dev_addr ); ^ ../linux/src/drivers/net/tlan.c:181:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static void TLan_SetMac( struct device *, int areg, char *mac ); ^ ../linux/src/drivers/net/tlan.c: At top level: ../linux/src/drivers/net/tlan.c:55:13: warning: ‘aui’ defined but not used [-Wunused-variable] static int aui = 0; ^ ../linux/src/drivers/net/tlan.c:56:13: warning: ‘sa_int’ defined but not used [-Wunused-variable] static int sa_int = 0; ^ ../linux/src/drivers/net/tlan.c:58:13: warning: ‘duplex’ defined but not used [-Wunused-variable] static int duplex = 0; ^ ../linux/src/drivers/net/tlan.c:59:13: warning: ‘speed’ defined but not used [-Wunused-variable] static int speed = 0; ^ ../linux/src/drivers/net/tlan.c:1086:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1125:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1192:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1239:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1345:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1380:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1499:2: warning: Value stored to 'host_int' is never read host_int = 0; ^ ~ ../linux/src/drivers/net/tlan.c:1823:2: warning: Value stored to 'def_tx' is never read def_tx += inb( dev->base_addr + TLAN_DIO_DATA + 1 ) << 8; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. CC linux/src/drivers/net/liblinux_a-tulip.o ../linux/src/drivers/net/tulip.c: In function ‘tulip_probe1’: ../linux/src/drivers/net/tulip.c:703:13: warning: variable ‘multiport_cnt’ set but not used [-Wunused-but-set-variable] static int multiport_cnt = 0; /* For four-port boards w/one EEPROM */ ^ ../linux/src/drivers/net/tulip.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/tulip.c:3318:6: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] filterbit = ether_crc_le(ETH_ALEN, mclist->dmi_addr); ^ ../linux/src/drivers/net/tulip.c:3256:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/tulip.c:3320:6: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] filterbit = ether_crc(ETH_ALEN, mclist->dmi_addr) >> 26; ^ ../linux/src/drivers/net/tulip.c:3273:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/tulip.c:3329:10: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] ether_crc(ETH_ALEN, mclist->dmi_addr), filterbit); ^ ../linux/src/drivers/net/tulip.c:3273:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/tulip.c:3362:5: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) & 0x1ff, ^ ../linux/src/drivers/net/tulip.c:3256:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/tulip.c:136:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/tulip.c:134:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/tulip.c:135:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/tulip.c:136:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-via-rhine.o ../linux/src/drivers/net/via-rhine.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/via-rhine.c:1225:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] set_bit(ether_crc(ETH_ALEN, mclist->dmi_addr) >> 26, ^ ../linux/src/drivers/net/via-rhine.c:1187:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/via-rhine.c:100:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/via-rhine.c:98:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/via-rhine.c:99:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/via-rhine.c:100:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-wd.o CC linux/src/drivers/net/liblinux_a-winbond-840.o ../linux/src/drivers/net/winbond-840.c: In function ‘netdev_rx’: ../linux/src/drivers/net/winbond-840.c:1179:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *temp = skb_put(skb = np->rx_skbuff[entry], pkt_len); ^ ../linux/src/drivers/net/winbond-840.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/winbond-840.c:1298:4: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] set_bit((ether_crc(ETH_ALEN, mclist->dmi_addr) >> 26) ^ 0x3F, ^ ../linux/src/drivers/net/winbond-840.c:1260:19: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline u32 ether_crc(int length, unsigned char *data) ^ ../linux/src/drivers/net/winbond-840.c:115:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/winbond-840.c:113:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/winbond-840.c:114:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/winbond-840.c:115:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-yellowfin.o ../linux/src/drivers/net/yellowfin.c: In function ‘yellowfin_rx’: ../linux/src/drivers/net/yellowfin.c:1127:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *temp = skb_put(skb = yp->rx_skbuff[entry], pkt_len); ^ ../linux/src/drivers/net/yellowfin.c: In function ‘set_rx_mode’: ../linux/src/drivers/net/yellowfin.c:1348:5: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit((ether_crc_le(3, mclist->dmi_addr) >> 3) & 0x3f, ^ ../linux/src/drivers/net/yellowfin.c:1307:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/yellowfin.c:1350:5: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit((ether_crc_le(4, mclist->dmi_addr) >> 3) & 0x3f, ^ ../linux/src/drivers/net/yellowfin.c:1307:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/yellowfin.c:1352:5: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit((ether_crc_le(5, mclist->dmi_addr) >> 3) & 0x3f, ^ ../linux/src/drivers/net/yellowfin.c:1307:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/yellowfin.c:1355:4: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit((ether_crc_le(6, mclist->dmi_addr) >> 3) & 0x3f, ^ ../linux/src/drivers/net/yellowfin.c:1307:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ ../linux/src/drivers/net/yellowfin.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 1 error generated. ../linux/src/drivers/net/yellowfin.c:99:2: warning: You must compile this file with the correct options! [-W#warnings] #warning You must compile this file with the correct options! ^ ../linux/src/drivers/net/yellowfin.c:100:2: warning: See the last lines of the source file. [-W#warnings] #warning See the last lines of the source file. ^ ../linux/src/drivers/net/yellowfin.c:101:2: error: You must compile this driver with "-O". #error You must compile this driver with "-O". ^ 2 warnings and 1 error generated. CC linux/src/drivers/net/liblinux_a-znet.o ../linux/src/drivers/net/znet.c: In function ‘znet_rx’: ../linux/src/drivers/net/znet.c:504:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cur_frame_end = zn.rx_start + cur_frame_end_offset - 4; ^ ../linux/src/drivers/net/znet.c:584:3: warning: Value stored to 'this_rfp_ptr' is never read this_rfp_ptr = zn.rx_start + next_frame_end_offset; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. CPPAS linux/src/arch/i386/lib/liblinux_a-semaphore.o AR liblinux.a CC linux/pcmcia-cs/glue/liblinux_pcmcia_cs_modules_a-pcmcia.o CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-cs.o ../linux/pcmcia-cs/modules/cs.c:2273:5: warning: excess elements in array initializer [enabled by default] X(register_ss_entry), ^ ../linux/pcmcia-cs/modules/cs.c:2273:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2274:5: warning: excess elements in array initializer [enabled by default] X(unregister_ss_entry), ^ ../linux/pcmcia-cs/modules/cs.c:2274:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2275:5: warning: excess elements in array initializer [enabled by default] X(CardServices), ^ ../linux/pcmcia-cs/modules/cs.c:2275:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2276:5: warning: excess elements in array initializer [enabled by default] X(MTDHelperEntry), ^ ../linux/pcmcia-cs/modules/cs.c:2276:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2281:5: warning: excess elements in array initializer [enabled by default] X(request_mem_region), ^ ../linux/pcmcia-cs/modules/cs.c:2281:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2282:5: warning: excess elements in array initializer [enabled by default] X(release_mem_region), ^ ../linux/pcmcia-cs/modules/cs.c:2282:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2288:5: warning: excess elements in array initializer [enabled by default] X(pci_irq_mask), ^ ../linux/pcmcia-cs/modules/cs.c:2288:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2289:5: warning: excess elements in array initializer [enabled by default] X(pci_devices), ^ ../linux/pcmcia-cs/modules/cs.c:2289:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2290:5: warning: excess elements in array initializer [enabled by default] X(pci_root), ^ ../linux/pcmcia-cs/modules/cs.c:2290:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2291:5: warning: excess elements in array initializer [enabled by default] X(pci_find_slot), ^ ../linux/pcmcia-cs/modules/cs.c:2291:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2292:5: warning: excess elements in array initializer [enabled by default] X(pci_find_class), ^ ../linux/pcmcia-cs/modules/cs.c:2292:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2293:5: warning: excess elements in array initializer [enabled by default] X(pci_enable_device), ^ ../linux/pcmcia-cs/modules/cs.c:2293:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2294:5: warning: excess elements in array initializer [enabled by default] X(pci_set_power_state), ^ ../linux/pcmcia-cs/modules/cs.c:2294:5: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] In file included from ../linux/pcmcia-cs/modules/cs.c:2296:0: ../linux/src/include/linux/symtab_end.h:12:3: warning: excess elements in array initializer [enabled by default] { (void *)0, (char *)0 } ^ ../linux/src/include/linux/symtab_end.h:12:3: warning: (near initialization for ‘cs_symtab.symbol’) [enabled by default] ../linux/src/include/linux/symtab_end.h:15:34: warning: excess elements in array initializer [enabled by default] { { (struct module *)0, (struct module_ref *)0 } } ^ ../linux/src/include/linux/symtab_end.h:15:34: warning: (near initialization for ‘cs_symtab.ref’) [enabled by default] ../linux/pcmcia-cs/modules/cs.c:2269:28: warning: ‘cs_symtab’ defined but not used [-Wunused-variable] static struct symbol_table cs_symtab = { ^ ../linux/pcmcia-cs/modules/cs.c:384:10: warning: Access to field 'ss_entry' results in a dereference of a null pointer (loaded from variable 's') if (s->ss_entry == ss_entry) break; ^ 1 warning generated. CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-ds.o ../linux/pcmcia-cs/modules/ds.c: In function ‘ds_event’: ../linux/pcmcia-cs/modules/ds.c:312:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int i; ^ ../linux/pcmcia-cs/modules/ds.c: At top level: ../linux/pcmcia-cs/modules/ds.c:136:25: warning: ‘major_dev’ defined but not used [-Wunused-variable] static int sockets = 0, major_dev = -1; ^ ../linux/pcmcia-cs/modules/ds.c:317:5: warning: Value stored to 'i' is never read i = s - socket_table; ^ ~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/ds.c:510:11: warning: Access to field 'next' results in a dereference of a null pointer *d = (*d)->next; ^~~~~~~~~~ 2 warnings generated. CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-rsrc_mgr.o ../linux/pcmcia-cs/modules/rsrc_mgr.c:732:5: warning: Value stored to 'ret' is never read ret = CS_SUCCESS; ^ ~~~~~~~~~~ 1 warning generated. CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-bulkmem.o ../linux/pcmcia-cs/modules/bulkmem.c: In function ‘do_mtd_request’: ../linux/pcmcia-cs/modules/bulkmem.c:67:20: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] socket_info_t *s; ^ ../linux/pcmcia-cs/modules/bulkmem.c:72:5: warning: Value stored to 's' is never read s = SOCKET(mtd); ^ ~~~~~~~~~~~ 1 warning generated. CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-cistpl.o ../linux/pcmcia-cs/modules/cistpl.c: In function ‘follow_link’: ../linux/pcmcia-cs/modules/cistpl.c:488:6: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] (strncmp(link+2, "CIS", 3) == 0)) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/dev/include/asm/string.h:130:19: note: expected ‘const char *’ but argument is of type ‘u_char *’ extern inline int strncmp(const char * cs,const char * ct,size_t count) ^ ../linux/pcmcia-cs/modules/cistpl.c:495:2: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] (strncmp(link+2, "CIS", 3) != 0)) ^ In file included from ../linux/src/include/linux/string.h:39:0, from ./linux/src/include/asm/termios.h:59, from ../linux/src/include/linux/termios.h:5, from ../linux/src/include/linux/tty.h:20, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/dev/include/asm/string.h:130:19: note: expected ‘const char *’ but argument is of type ‘u_char *’ extern inline int strncmp(const char * cs,const char * ct,size_t count) ^ ../linux/pcmcia-cs/modules/cistpl.c:143:2: warning: Value stored to 'sys' is never read sys += (addr & (s->cap.map_size-1)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/cistpl.c:143:6: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage sys += (addr & (s->cap.map_size-1)); ~~~ ^ ../linux/pcmcia-cs/modules/cistpl.c:467:9: warning: Branch condition evaluates to a garbage value if (MFC_FN(tuple->Flags)) { ^~~~~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/cistpl.c:420:19: note: expanded from macro 'MFC_FN' #define MFC_FN(f) (((tuple_flags *)(&(f)))->mfc_fn) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/cistpl.c:469:2: warning: Function call argument is an uninitialized value read_cis_cache(s, LINK_SPACE(tuple->Flags), ^ ../linux/pcmcia-cs/modules/cistpl.c:476:16: warning: Branch condition evaluates to a garbage value } else if (HAS_LINK(tuple->Flags)) { ^~~~~~~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/cistpl.c:419:21: note: expanded from macro 'HAS_LINK' #define HAS_LINK(f) (((tuple_flags *)(&(f)))->has_link) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../linux/pcmcia-cs/modules/cistpl.c:521:18: warning: The left operand of '==' is a garbage value if (link[0] == CISTPL_NULL) { ~~~~~~~ ^ ../linux/pcmcia-cs/modules/cistpl.c:567:25: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage tuple->LinkOffset += handle->Function * 5; ~~~~~~~~~~~~~~~~~ ^ 7 warnings generated. CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-pci_fixup.o CC linux/pcmcia-cs/modules/liblinux_pcmcia_cs_modules_a-i82365.o AR liblinux_pcmcia_cs_modules.a CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-3c574_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/clients/3c574_cs.c: In function ‘tc574_config’: ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] u_char mcr, *ram_split[] = {"5:3", "3:1", "1:1", "3:5"}; ^ ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: (near initialization for ‘ram_split[0]’) [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: (near initialization for ‘ram_split[1]’) [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: (near initialization for ‘ram_split[2]’) [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] ../linux/pcmcia-cs/clients/3c574_cs.c:503:3: warning: (near initialization for ‘ram_split[3]’) [-Wpointer-sign] In file included from :0:0: ../linux/pcmcia-cs/clients/3c574_cs.c: In function ‘update_stats’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/3c574_cs.c:1155:2: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&lp->stats, tx + ((up & 0xf0) << 12)); ^ ../linux/pcmcia-cs/clients/3c574_cs.c:1127:5: warning: variable ‘rx’ set but not used [-Wunused-but-set-variable] u8 rx, tx, up; ^ In file included from :0:0: ../linux/pcmcia-cs/clients/3c574_cs.c: In function ‘el3_rx’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/3c574_cs.c:1198:5: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&lp->stats, pkt_len); ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-3c589_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :0:0: ../linux/pcmcia-cs/clients/3c589_cs.c: In function ‘el3_start_xmit’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/3c589_cs.c:734:5: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&((struct el3_private *)dev->priv)->stats, skb->len); ^ ../linux/pcmcia-cs/clients/3c589_cs.c: In function ‘el3_rx’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/3c589_cs.c:1005:3: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&lp->stats, pkt_len); ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-axnet_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/clients/axnet_cs.c: In function ‘block_input’: ../linux/pcmcia-cs/clients/axnet_cs.c:876:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ In file included from :0:0: ../linux/pcmcia-cs/clients/axnet_cs.c: In function ‘ei_start_xmit’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/axnet_cs.c:1304:2: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&ei_local->stat, send_length); ^ ../linux/pcmcia-cs/clients/axnet_cs.c: In function ‘ei_receive’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/axnet_cs.c:1638:5: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&ei_local->stat, pkt_len); ^ ../linux/pcmcia-cs/clients/axnet_cs.c: In function ‘axdev_init’: ../linux/pcmcia-cs/clients/axnet_cs.c:1821:21: warning: variable ‘ei_local’ set but not used [-Wunused-but-set-variable] struct ei_device *ei_local; ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-fmvj18x_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :0:0: ../linux/pcmcia-cs/clients/fmvj18x_cs.c: In function ‘fjn_start_xmit’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/fmvj18x_cs.c:967:2: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&lp->stats, skb->len); ^ ../linux/pcmcia-cs/clients/fmvj18x_cs.c: In function ‘fjn_rx’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/fmvj18x_cs.c:1167:6: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&lp->stats, pkt_len); ^ ../linux/pcmcia-cs/clients/fmvj18x_cs.c: In function ‘set_rx_mode’: ../linux/pcmcia-cs/clients/fmvj18x_cs.c:1306:6: warning: pointer targets in passing argument 2 of ‘ether_crc_le’ differ in signedness [-Wpointer-sign] set_bit(ether_crc_le(ETH_ALEN, mclist->dmi_addr) & 0x3f, ^ In file included from ../linux/pcmcia-cs/clients/fmvj18x_cs.c:50:0: ../linux/pcmcia-cs/include/linux/crc32.h:28:24: note: expected ‘unsigned char *’ but argument is of type ‘char *’ static inline unsigned ether_crc_le(int length, unsigned char *data) ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-nmclan_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/clients/nmclan_cs.c: In function ‘nmclan_config’: ../linux/pcmcia-cs/clients/nmclan_cs.c:780:3: warning: pointer targets in passing argument 2 of ‘mace_init’ differ in signedness [-Wpointer-sign] mace_init(ioaddr, dev->dev_addr); ^ ../linux/pcmcia-cs/clients/nmclan_cs.c:647:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static void mace_init(ioaddr_t ioaddr, char *enet_addr) ^ ../linux/pcmcia-cs/clients/nmclan_cs.c: In function ‘nmclan_reset’: ../linux/pcmcia-cs/clients/nmclan_cs.c:953:3: warning: pointer targets in passing argument 2 of ‘mace_init’ differ in signedness [-Wpointer-sign] mace_init(dev->base_addr, dev->dev_addr); ^ ../linux/pcmcia-cs/clients/nmclan_cs.c:647:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ static void mace_init(ioaddr_t ioaddr, char *enet_addr) ^ In file included from :0:0: ../linux/pcmcia-cs/clients/nmclan_cs.c: In function ‘mace_start_xmit’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/nmclan_cs.c:1082:5: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&lp->linux_stats, skb->len); ^ ../linux/pcmcia-cs/clients/nmclan_cs.c: In function ‘mace_rx’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/nmclan_cs.c:1321:2: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&lp->linux_stats, skb->len); ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-pcnet_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/clients/pcnet_cs.c: In function ‘dma_block_input’: ../linux/pcmcia-cs/clients/pcnet_cs.c:1373:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ ../linux/pcmcia-cs/clients/pcnet_cs.c: In function ‘shmem_block_input’: ../linux/pcmcia-cs/clients/pcnet_cs.c:1583:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = skb->data; ^ ../linux/pcmcia-cs/clients/pcnet_cs.c:1588:2: warning: pointer targets in passing argument 1 of ‘copyin’ differ in signedness [-Wpointer-sign] copyin(buf, xfer_start, semi_count); ^ ../linux/pcmcia-cs/clients/pcnet_cs.c:1528:13: note: expected ‘u_char *’ but argument is of type ‘char *’ static void copyin(u_char *dest, u_char *src, int c) ^ ../linux/pcmcia-cs/clients/pcnet_cs.c:1594:5: warning: pointer targets in passing argument 1 of ‘copyin’ differ in signedness [-Wpointer-sign] copyin(buf, xfer_start, count); ^ ../linux/pcmcia-cs/clients/pcnet_cs.c:1528:13: note: expected ‘u_char *’ but argument is of type ‘char *’ static void copyin(u_char *dest, u_char *src, int c) ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/src/drivers/net/liblinux_pcmcia_cs_clients_a-8390.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-smc91c92_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c: In function ‘mhz_setup’: ../linux/pcmcia-cs/clients/smc91c92_cs.c:608:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] station_addr = parse.version_1.str + parse.version_1.ofs[3]; ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:609:2: warning: pointer targets in passing argument 2 of ‘cvt_ascii_address’ differ in signedness [-Wpointer-sign] if (cvt_ascii_address(dev, station_addr) == 0) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:453:12: note: expected ‘char *’ but argument is of type ‘u_char *’ static int cvt_ascii_address(struct net_device *dev, char *s) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:620:5: warning: pointer targets in passing argument 2 of ‘cvt_ascii_address’ differ in signedness [-Wpointer-sign] if (cvt_ascii_address(dev, buf) == 0) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:453:12: note: expected ‘char *’ but argument is of type ‘u_char *’ static int cvt_ascii_address(struct net_device *dev, char *s) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c: In function ‘smc_setup’: ../linux/pcmcia-cs/clients/smc91c92_cs.c:759:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] station_addr = parse.version_1.str + parse.version_1.ofs[2]; ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:760:5: warning: pointer targets in passing argument 2 of ‘cvt_ascii_address’ differ in signedness [-Wpointer-sign] if (cvt_ascii_address(dev, station_addr) == 0) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:453:12: note: expected ‘char *’ but argument is of type ‘u_char *’ static int cvt_ascii_address(struct net_device *dev, char *s) ^ In file included from :0:0: ../linux/pcmcia-cs/clients/smc91c92_cs.c: In function ‘smc_hardware_send_packet’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:1409:5: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&smc->stats, skb->len); ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c: In function ‘smc_rx’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c:1771:2: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&smc->stats, packet_length); ^ ../linux/pcmcia-cs/clients/smc91c92_cs.c: In function ‘fill_multicast_tbl’: ../linux/pcmcia-cs/clients/smc91c92_cs.c:1810:2: warning: pointer targets in passing argument 2 of ‘ether_crc’ differ in signedness [-Wpointer-sign] u_int position = ether_crc(6, mc_addr->dmi_addr); ^ In file included from ../linux/pcmcia-cs/clients/smc91c92_cs.c:37:0: ../linux/pcmcia-cs/include/linux/crc32.h:12:21: note: expected ‘u_char *’ but argument is of type ‘char *’ static inline u_int ether_crc(int length, u_char *data) ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/clients/liblinux_pcmcia_cs_clients_a-xirc2ps_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :0:0: ../linux/pcmcia-cs/clients/xirc2ps_cs.c: In function ‘xirc2ps_interrupt’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:230:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_rx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/xirc2ps_cs.c:1442:3: note: in expansion of macro ‘add_rx_bytes’ add_rx_bytes(&lp->stats, pktlen); ^ ../linux/pcmcia-cs/clients/xirc2ps_cs.c: In function ‘do_start_xmit’: ./../linux/pcmcia-cs/glue/pcmcia_glue.h:231:42: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] #define add_tx_bytes(stats, n) do { int x; x = (n); } while (0) ^ ../linux/pcmcia-cs/clients/xirc2ps_cs.c:1595:5: note: in expansion of macro ‘add_tx_bytes’ add_tx_bytes(&lp->stats, pktlen); ^ ../linux/pcmcia-cs/clients/xirc2ps_cs.c: In function ‘set_addresses’: ../linux/pcmcia-cs/clients/xirc2ps_cs.c:1640:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] addr = dev->dev_addr; ^ In file included from :146: In file included from :5: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. AR liblinux_pcmcia_cs_clients.a CC linux/pcmcia-cs/wireless/liblinux_pcmcia_cs_wireless_a-hermes.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :146: In file included from :4: In file included from ../linux/pcmcia-cs/glue/wireless_glue.h:37: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/wireless/liblinux_pcmcia_cs_wireless_a-orinoco.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ ../linux/pcmcia-cs/wireless/orinoco.c: In function ‘__orinoco_ev_rx’: ../linux/pcmcia-cs/wireless/orinoco.c:1801:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = skb_put(skb, data_len); ^ ../linux/pcmcia-cs/wireless/orinoco.c: In function ‘orinoco_xmit’: ../linux/pcmcia-cs/wireless/orinoco.c:2405:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = skb->data + ETH_HLEN; ^ ../linux/pcmcia-cs/wireless/orinoco.c:2427:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = skb->data; ^ In file included from :146: In file included from :4: In file included from ../linux/pcmcia-cs/glue/wireless_glue.h:37: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. CC linux/pcmcia-cs/wireless/liblinux_pcmcia_cs_wireless_a-orinoco_cs.o In file included from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:172:0, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ../linux/src/include/linux/kcomp.h: In function ‘netif_device_present’: ../linux/src/include/linux/kcomp.h:27:2: warning: passing argument 2 of ‘test_bit’ discards ‘volatile’ qualifier from pointer target type [enabled by default] return test_bit(0, &dev->start); ^ In file included from ../linux/dev/include/linux/fs.h:135:0, from ../linux/src/include/linux/tty.h:19, from ../linux/dev/include/linux/sched.h:26, from ../linux/dev/include/linux/mm.h:4, from ../linux/dev/include/linux/malloc.h:4, from ./../linux/pcmcia-cs/glue/pcmcia_glue.h:54, from ./../linux/pcmcia-cs/glue/wireless_glue.h:37, from :0: ./linux/src/include/asm/bitops.h:101:23: note: expected ‘const void *’ but argument is of type ‘volatile unsigned char *’ extern __inline__ int test_bit(int nr, const SMPVOL void * addr) ^ In file included from :146: In file included from :4: In file included from ../linux/pcmcia-cs/glue/wireless_glue.h:37: ../linux/pcmcia-cs/glue/pcmcia_glue.h:190:31: error: expected ';' at end of declaration int stub(struct device *dev) ^ ; 1 error generated. AR liblinux_pcmcia_cs_wireless.a GEN gnumach.o NM gnumach-undef GEN gnumach-undef-bad CCLD clib-routines.o GEN gnumach GEN gnumach.msgids rm i386/i386/i386asm.symc i386/i386/i386asm.symc.o make[2]: Leaving directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' make[1]: Leaving directory `/home/teythoon/qa/packages/gnumach/obj-scan-build' scan-build: 211 bugs found. scan-build: Run 'scan-view /tmp/tmp.STEQxfmSv3/2014-02-21-1' to examine bug reports. scan-build: The analyzer encountered problems on some source files. scan-build: Preprocessed versions of these sources were deposited in '/tmp/tmp.STEQxfmSv3/2014-02-21-1/failures'. scan-build: Please consider submitting a bug report using these files: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html real 17m30.610s user 0m0.000s sys 0m0.000s Script done on Fri 21 Feb 2014 02:06:52 PM CET