linux/drivers/scsi/mpi3mr
Shin'ichiro Kawasaki 9bfa3a6150 scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
[ Upstream commit f0a43ba6c6 ]

When Kconfig item CONFIG_SCSI_MPI3MR was introduced for mpi3mr driver, the
Makefile of the driver was not modified to refer the Kconfig item.

As a result, mpi3mr.ko is built regardless of the Kconfig item value y or
m. Also, if 'make localmodconfig' can not find the Kconfig item in the
Makefile, then it does not generate CONFIG_SCSI_MPI3MR=m even when
mpi3mr.ko is loaded on the system.

Refer to the Kconfig item to avoid the issues.

Fixes: c4f7ac6461 ("scsi: mpi3mr: Add mpi30 Rev-R headers and Kconfig")
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: https://lore.kernel.org/r/20221207023659.2411785-1-shinichiro.kawasaki@wdc.com
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2023-01-18 11:58:23 +01:00
..
mpi scsi: mpi3mr: Update mpi3 header files 2022-09-25 13:49:51 -04:00
Kconfig scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS 2022-10-22 03:14:51 +00:00
Makefile scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile 2023-01-18 11:58:23 +01:00
mpi3mr.h scsi: mpi3mr: Update driver version to 8.2.0.3.0 2022-09-25 13:49:52 -04:00
mpi3mr_app.c scsi: mpi3mr: Fix kernel-doc 2022-06-01 22:43:26 -04:00
mpi3mr_debug.h scsi: mpi3mr: Add config and transport related debug flags 2022-08-22 23:34:04 -04:00
mpi3mr_fw.c scsi: mpi3mr: Remove unnecessary cast 2022-09-25 14:22:56 -04:00
mpi3mr_os.c scsi: mpi3mr: Suppress command reply debug prints 2022-11-17 17:42:38 +00:00
mpi3mr_transport.c scsi: mpi3mr: Fix error code in mpi3mr_transport_smp_handler() 2022-09-15 22:04:02 -04:00