summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorAlison Schofield <alison.schofield@intel.com>2026-06-05 07:05:01 +0300
committerDave Jiang <dave.jiang@intel.com>2026-06-09 20:43:33 +0300
commit1e1edc973c64307821ee22049908e7ded8f973c2 (patch)
treec7c7c06ffb48915ea74d85eb47812dd4effdab69 /include/linux/timerqueue.h
parentc268f949e219f9e179558e836f457f6c5fbec416 (diff)
downloadlinux-1e1edc973c64307821ee22049908e7ded8f973c2.tar.xz
cxl/region: Avoid variable shadowing in region attach paths
A couple of symbol declarations shadow earlier variables in the region attach paths. Shadowing makes it harder to tell which object is being referenced and can obscure future bugs. Reuse the existing 'cxld' variable in cxl_port_attach_region() and rename the endpoint decoder iterator in cxl_region_attach() to avoid shadowing the function parameter. No functional change. Found with sparse. Signed-off-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Li Ming <ming.li@zohomail.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://patch.msgid.link/20260605040504.865728-1-alison.schofield@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions