diff options
| author | 2026-06-06 12:06:44 +0800 | |
|---|---|---|
| committer | 2026-06-10 14:07:55 -0300 | |
| commit | 2cde8282ff6e28c5e2fa3dbed25f154bd0e1cd7f (patch) | |
| tree | b23770da39eebaf45d8fe5d748b732506721ed6d /scripts/Makefile.thinlto | |
| parent | RDMA/efa: Implement the query port speed verb (diff) | |
RDMA/bnxt_re: Check debugfs parameter allocation for failure
bnxt_re_debugfs_add_pdev() allocates per-file private data for the CC
configuration debugfs entries. The loop that initializes those entries
uses rdev->cc_config_params immediately, so allocation failure would lead
to NULL pointer dereferences while setting up debugfs.
Debugfs is best-effort. If the CC configuration private data cannot be
allocated just stop.
Link: https://patch.msgid.link/r/20260606040644.13-1-ruoyuw560@gmail.com
Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
