> sd.c: In function `cleanup_module':
> sd.c:1786: invalid operands to binary <=
> sd.c:1790: `N_USED_SCSI_DISKS' undeclared (first use this function)
> sd.c:1790: (Each undeclared identifier is reported only once
> sd.c:1790: for each function it appears in.)
> sd.c:1760: warning: unused variable `prev_sdgd'
In 126pre2ac1 this seems to be gone. But modular scsi, sd and sg still
have compile problems:
/usr/src/linux-2.1/include/linux/blk.h:375:
warning: `do_sd' defined but not used
/usr/src/linux-2.1/include/linux/blk.h:399:
warning: `do_sd_request' declared `static' but never defined
...
sd.c: In function `cleanup_module':
sd.c:1789: warning: comparison between pointer and integer
sd.c:1763: warning: unused variable `prev_sdgd'
...
sg.c: In function `sg_ioctl':
sg.c:98: `SG_EMULATED_HOST' undeclared (first use this function)
sg.c:98: (Each undeclared identifier is reported only once
sg.c:98: for each function it appears in.)
[It is nice that make -j <n> builds in different trees simultaneously,
but it makes it harder to hunt for the errors and to match them with
the source files.]
I don't know who generated the errors for blk.h, but I guess it is sd.c
-- Rafael D'Halleweyn rdhall@mail.dma.be- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/