diff options
| author | Kees Cook <kees+treewide@kernel.org> | 2026-09-02 15:31:14 -0700 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-09-04 21:37:00 -0700 |
| commit | 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d (patch) | |
| tree | c65086f9bdcd48c6360fb7cb4598bca084da1f32 /drivers/scsi/pcmcia/Kconfig | |
| download | linux-stable-3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d.tar.gz linux-stable-3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d.zip | |
treewide: refresh kmalloc_obj() conversionsgrafted
This is another run of the Coccinelle script for converting kmalloc()
family of allocations to kmalloc_obj() via the existing rules in
scripts/coccinelle/api/kmalloc_objs.cocci
This catches both the set of kmalloc() uses added since the first
kmalloc_obj() conversions in v7.0 and adds a large group missed in the
first pass due to Coccinelle not interacting well with the cleanup.h
scoped_...() family of macros[1]. I worked around this with spatch's
"--macro-file" argument to a file with all the scoped_...() macros mapped
to Coccinelle's YACFE_ITERATOR[2] as that was the closest viable control
flow indicator I could find.
Build tested allmodconfig on x86, arm64, arm, loongarch, mips, powerpc,
riscv, and s390 with no new warnings.
Link: https://lore.kernel.org/lkml/202609021314.8A9C0B8@keescook/ [1]
Link: https://github.com/coccinelle/coccinelle/blob/master/standard.h [2]
Signed-off-by: Kees Cook <kees+treewide@kernel.org>
Diffstat (limited to 'drivers/scsi/pcmcia/Kconfig')
| -rw-r--r-- | drivers/scsi/pcmcia/Kconfig | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/drivers/scsi/pcmcia/Kconfig b/drivers/scsi/pcmcia/Kconfig new file mode 100644 index 000000000..449bd85db --- /dev/null +++ b/drivers/scsi/pcmcia/Kconfig @@ -0,0 +1,89 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# PCMCIA SCSI adapter configuration +# + +menuconfig SCSI_LOWLEVEL_PCMCIA + bool "PCMCIA SCSI adapter support" + depends on SCSI!=n && PCMCIA!=n + +# drivers have problems when build in, so require modules +if SCSI_LOWLEVEL_PCMCIA && SCSI && PCMCIA && m + +config PCMCIA_AHA152X + tristate "Adaptec AHA152X PCMCIA support" + depends on HAS_IOPORT + select SCSI_SPI_ATTRS + help + Say Y here if you intend to attach this type of PCMCIA SCSI host + adapter to your computer. + + To compile this driver as a module, choose M here: the + module will be called aha152x_cs. + +config PCMCIA_FDOMAIN + tristate "Future Domain PCMCIA support" + depends on HAS_IOPORT + select SCSI_FDOMAIN + help + Say Y here if you intend to attach this type of PCMCIA SCSI host + adapter to your computer. + + To compile this driver as a module, choose M here: the + module will be called fdomain_cs. + +config PCMCIA_NINJA_SCSI + tristate "NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support" + depends on (!64BIT || COMPILE_TEST) && HAS_IOPORT + help + If you intend to attach this type of PCMCIA SCSI host adapter to + your computer, say Y here and read + <file:Documentation/scsi/NinjaSCSI.rst>. + + Supported cards: + + NinjaSCSI-3: (version string: "WBT","NinjaSCSI-3","R1.0") + IO-DATA PCSC-FP + ALPHA DATA AD-PCS201 + CyQ've SFC-201 + LOGITECH LPM-SCSI2E + Pioneer PCR-PR24's card + I-O DATA CDPS-PX24's card (PCSC-F) + Panasonic KXL-RW10AN CD-RW's card + etc. + + NinjaSCSI-32Bit (in 16bit mode): + [Workbit (version string: "WORKBIT","UltraNinja-16","1")] + Jazz SCP050 + [I-O DATA (OEM) (version string: "IO DATA","CBSC16 ","1")] + I-O DATA CBSC-II + [Kyusyu Matsushita Kotobuki (OEM) + (version string: "KME ","SCSI-CARD-001","1")] + KME KXL-820AN's card + HP M820e CDRW's card + etc. + + To compile this driver as a module, choose M here: the + module will be called nsp_cs. + +config PCMCIA_QLOGIC + tristate "Qlogic PCMCIA support" + depends on HAS_IOPORT + help + Say Y here if you intend to attach this type of PCMCIA SCSI host + adapter to your computer. + + To compile this driver as a module, choose M here: the + module will be called qlogic_cs. + +config PCMCIA_SYM53C500 + tristate "Symbios 53c500 PCMCIA support" + depends on HAS_IOPORT + help + Say Y here if you have a New Media Bus Toaster or other PCMCIA + SCSI adapter based on the Symbios 53c500 controller. + + To compile this driver as a module, choose M here: the + module will be called sym53c500_cs. + +endif # SCSI_LOWLEVEL_PCMCIA |
