Geoff Levand wrote:
Change the PS3 platform code to use hard coded numbers for its LV1 device types.The PS3 platform code was incorrectly using some scsi block constants for the device type returned from the LV1 hypervisor. Fixes build errors like these when CONFIG_BLOCK=n: In file included from include/scsi/scsi.h:12, from arch/powerpc/platforms/ps3/platform.h:25, from arch/powerpc/platforms/ps3/setup.c:36: include/scsi/scsi_cmnd.h:27:25: warning: "BLK_MAX_CDB" is not defined include/scsi/scsi_cmnd.h:28:3: error: #error MAX_COMMAND_SIZE can not be bigger than BLK_MAX_CDB Signed-off-by: Geoff Levand <[email protected]> ---
Thanks Geoff. This fixes the issue. Tested-by : Sachin Sant <[email protected]> -- --------------------------------- Sachin Sant IBM Linux Technology Center India Systems and Technology Labs Bangalore, India --------------------------------- _______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
