diff options
| author | Randy Dunlap <[email protected]> | 2024-02-14 05:59:53 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-02-15 20:34:47 +0000 |
| commit | 9ddf190a7df77b77817f955fdb9c2ae9d1c9c9a3 (patch) | |
| tree | 7706d222f2a5d91b8e9ebcee0f2aa3428df5f6aa /security/selinux/hooks.c | |
| parent | scsi: smartpqi: Fix disable_managed_interrupts (diff) | |
| download | kernel-9ddf190a7df77b77817f955fdb9c2ae9d1c9c9a3.tar.gz kernel-9ddf190a7df77b77817f955fdb9c2ae9d1c9c9a3.zip | |
scsi: jazz_esp: Only build if SCSI core is builtin
JAZZ_ESP is a bool kconfig symbol that selects SCSI_SPI_ATTRS. When
CONFIG_SCSI=m, this results in SCSI_SPI_ATTRS=m while JAZZ_ESP=y, which
causes many undefined symbol linker errors.
Fix this by only offering to build this driver when CONFIG_SCSI=y.
[mkp: JAZZ_ESP is unique in that it does not support being compiled as a
module unlike the remaining SPI SCSI HBA drivers]
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: Thomas Bogendoerfer <[email protected]>
Cc: [email protected]
Cc: Arnd Bergmann <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: James E.J. Bottomley <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: [email protected]
Cc: Geert Uytterhoeven <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
