linux/drivers/infiniband/hw
Kees Cook 3a2c4d55e3 treewide: refresh kmalloc_obj() conversions
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>
History 2026-09-04 21:37:00 -07:00
..
bng_re RDMA v7.3 merge window pull 2026-08-21 11:48:54 -07:00
bnxt_re RDMA/bnxt_re: Add uverbs object handle path for CQ/SRQ toggle page 2026-07-28 08:03:10 -04:00
cxgb4 RDMA/cxgb4: Free debugfs on registration failure 2026-08-11 16:57:33 -03:00
efa RDMA/efa: Add support for 128B admin v2 SQ entry 2026-08-12 20:53:57 -03:00
erdma Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00
hfi1 RDMA v7.3 merge window pull 2026-08-21 11:48:54 -07:00
hns treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
ionic RDMA/ionic: Embed counter driver data in rdma_counter allocation 2026-08-06 07:21:21 -04:00
irdma Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00
mana Merge rdma branch 'for-rc' into 'for-next' 2026-08-18 11:05:13 -03:00
mlx4 RDMA/mlx4: use kzalloc() for the fast registration page list 2026-07-20 09:45:43 -04:00
mlx5 Including fixes from Bluetooth, IPSec and Netfilter. 2026-08-27 13:53:43 -07:00
mthca RDMA: Use ib_no_udata_io() in query_device callbacks 2026-07-20 09:00:40 -04:00
ocrdma RDMA/ocrdma: accept boolean value in ocrdma_dbgfs_ops_write() 2026-07-23 06:05:44 -04:00
qedr RDMA: Use ib_no_udata_io() in query_device callbacks 2026-07-20 09:00:40 -04:00
usnic RDMA/usnic: use kmalloc() for the page pointer array 2026-07-20 09:45:43 -04:00
vmw_pvrdma RDMA: Use ib_no_udata_io() in query_device callbacks 2026-07-20 09:00:40 -04:00
Makefile RDMA/bng_re: Add Auxiliary interface 2025-11-24 02:58:29 -05:00