From: Christoph Hellwig hch@lst.de
Move the SCSI-specific bsg code in the SCSI midlayer instead of in the common bsg code. This just keeps the common bsg code block/ and also allows building it as a module.
Signed-off-by: Christoph Hellwig hch@lst.de
[ Please ignore if its already been reported ]
When building arm's defconfig 'footbridge_defconfig' on linux-next tag next-20210728 I see the following error.
make --silent --keep-going --jobs=32 O=/home/anders/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- footbridge_defconfig make --silent --keep-going --jobs=32 O=/home/anders/.cache/tuxmake/builds/current ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- ERROR: modpost: "scsi_normalize_sense" [drivers/cdrom/cdrom.ko] undefined! make[2]: *** [/home/anders/src/kernel/bisecting-2/scripts/Makefile.modpost:150: modules-only.symvers] Error 1 make[2]: *** Deleting file 'modules-only.symvers' make[2]: Target '__modpost' not remade because of errors. make[1]: *** [/home/anders/src/kernel/bisecting-2/Makefile:1911: modules] Error 2 make[1]: Target '__all' not remade because of errors. make: *** [Makefile:227: __sub-make] Error 2 make: Target '__all' not remade because of errors.
Bisected down to this patch as the problematic patch.
Reported-by: Anders Roxell anders.roxell@linaro.org
Cheers, Anders