On Tue May 26, 2026 at 5:20 AM JST, Danilo Krummrich wrote: > 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: [email protected] > Reported-by: Sashiko <[email protected]> > Closes: > https://lore.kernel.org/all/[email protected]/ > Fixes: 3c2e31d717ac ("rust: pci: move I/O infrastructure to separate file") > Signed-off-by: Danilo Krummrich <[email protected]> > ---
Reviewed-by: Eliot Courtney <[email protected]>
