summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-05-25 23:20:48 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-05-27 17:22:28 +0300
commite566a9e17f3774c962b6d2522750f227f027edc6 (patch)
tree6987afbcbc703e70fb13830c91c2c4bd23842581 /include/linux/timerqueue.h
parent95ade775c4ab9b9b3d7cfa2d45283e93fbfa4e7a (diff)
downloadlinux-e566a9e17f3774c962b6d2522750f227f027edc6.tar.xz
rust: pci: use 'static lifetime for PCI BAR resource names
pci_request_region() stores the name pointer directly in struct resource; use &'static CStr to ensure the pointer remains valid even if the Bar is leaked. Cc: stable@vger.kernel.org Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/all/20260522004943.CDA7C1F000E9@smtp.kernel.org/ Fixes: 3c2e31d717ac ("rust: pci: move I/O infrastructure to separate file") Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Eliot Courtney <ecourtney@nvidia.com> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260525202921.124698-2-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions