linux/drivers/infiniband/hw/hns
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>
2026-09-04 21:37:00 -07:00
..
hns_roce_ah.c RDMA: Convert drivers using min to ib_respond_udata() 2026-05-18 04:58:42 -04:00
hns_roce_alloc.c RDMA: Move DMA block iterator logic into dedicated files 2026-02-25 08:15:30 -05:00
hns_roce_bond.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
hns_roce_bond.h RDMA/hns: Add delayed work for bonding 2025-11-24 02:58:30 -05:00
hns_roce_cmd.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
hns_roce_cmd.h RDMA/hns: Append SCC context to the raw dump of QPC 2024-03-07 11:26:10 +02:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Fix log flood after cmd_mbox failure 2026-05-25 11:39:04 -03:00
hns_roce_db.c RDMA/umem: Rename ib_umem_get() to ib_umem_get_va() 2026-05-29 20:19:57 -03:00
hns_roce_debugfs.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
hns_roce_debugfs.h RDMA/hns: Support congestion control algorithm parameter configuration 2026-05-18 04:58:41 -04:00
hns_roce_device.h RDMA/hns: Support congestion control algorithm parameter configuration 2026-05-18 04:58:41 -04:00
hns_roce_hem.c RDMA/hns: Fix potential integer overflow in mhop hem cleanup 2026-07-02 14:24:15 -03:00
hns_roce_hem.h RDMA/hns: Use complete parentheses in macros 2024-04-16 15:06:47 +03:00
hns_roce_hw_v2.c RDMA/hns: Compute HEM index in 64-bit in hns_roce_v2_set_hem() 2026-07-12 04:46:16 -04:00
hns_roce_hw_v2.h RDMA/hns: Support congestion control algorithm parameter configuration 2026-05-18 04:58:41 -04:00
hns_roce_main.c RDMA: Use ib_no_udata_io() in query_device callbacks 2026-07-20 09:00:40 -04:00
hns_roce_mr.c RDMA v7.2 merge window 2026-06-18 08:16:21 -07:00
hns_roce_pd.c RDMA: Convert drivers using min to ib_respond_udata() 2026-05-18 04:58:42 -04:00
hns_roce_qp.c Linux 7.1-rc5 2026-05-25 13:48:00 -03:00
hns_roce_restrack.c RDMA/hns: Return actual error code instead of fixed EINVAL 2026-01-04 10:09:51 -05:00
hns_roce_srq.c Linux 7.1-rc5 2026-05-25 13:48:00 -03:00
hns_roce_trace.h RDMA/hns: Fix endian issue in trace events 2025-05-25 06:24:21 -04:00
Kconfig RDMA/hns: Clean up the legacy CONFIG_INFINIBAND_HNS 2025-01-06 08:41:06 -05:00
Makefile RDMA/hns: Initialize bonding resources 2025-11-24 02:58:29 -05:00