CC drivers/message/fusion/mptsas.o
drivers/message/fusion/mptsas.c: In function `mptsas_port_delete':
drivers/message/fusion/mptsas.c:106: sorry, unimplemented: inlining failed in call to 'mptsas_set_rphy': function body not available
drivers/message/fusion/mptsas.c:462: sorry, unimplemented: called from here
make[3]: *** [drivers/message/fusion/mptsas.o] Error 1
make[2]: *** [drivers/message/fusion] Error 2
make[1]: *** [drivers/message] Error 2
make: *** [drivers] Error 2
drivers/message/fusion/mptsas.c: In function `mptsas_port_delete':
drivers/message/fusion/mptsas.c:108: sorry, unimplemented: inlining failed in call to 'mptsas_set_rphy': function body not available
drivers/message/fusion/mptsas.c:465: sorry, unimplemented: called from here
drivers/message/fusion/mptsas.c: In function `mptsas_event_process':
drivers/message/fusion/mptsas.c:5012: warning: unused variable `log_info'
make[3]: *** [drivers/message/fusion/mptsas.o] Error 1
make[2]: *** [drivers/message/fusion] Error 2
make[1]: *** [drivers/message] Error 2
make: *** [drivers] Error 2
Solution (not really but the kernel won't compile properly with this driver and almost all kernels within the last 6 months are guilty of this):
disable: CONFIG_FUSION_SAS
In menuconfig for the kernel it can be found under:
Device Drivers ---> Fusion MPT device support -> Fusion MPT ScsiHost drivers for SAS
disable the "Fusion MPT ScsiHost drivers for SAS" option, all others can be left including the specific drivers in the SCSI section.
linux, kernel, cc, drivers, fusion, mptsas, mptsas_port_delete, unimplemented, inlining, mptsas_set_rphy, mptsas_event_process, unused, variable, log_info, compile, kernels, disable, config_fusion_sas, menuconfig, mpt, scsihost, sas, quot, scsi,