summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorKoichiro Den <den@valinux.co.jp>2026-01-05 16:56:06 +0900
committerManivannan Sadhasivam <mani@kernel.org>2026-02-24 16:03:39 +0530
commit26cd5ca272a44031c4ff381928aa1b816829d18d (patch)
tree8e06a044c7d37aa66d0b8b2e98f73ec5faee5bd1 /tools/lib/python
parentf457c18d7904b22f8b6a9c6475161810085c34c9 (diff)
PCI: endpoint: pci-epf-vntb: Use array_index_nospec() on mws_size[] access
Follow common kernel idioms for indices derived from configfs attributes and suppress Smatch warnings: epf_ntb_mw1_show() warn: potential spectre issue 'ntb->mws_size' [r] epf_ntb_mw1_store() warn: potential spectre issue 'ntb->mws_size' [w] Also fix the error message for out-of-range MW indices and %lld format for unsigned values. Signed-off-by: Koichiro Den <den@valinux.co.jp> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260105075606.1253697-1-den@valinux.co.jp
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions