diff options
author | Foryun Ma <[email protected]> | 2024-06-04 11:21:51 +0800 |
---|---|---|
committer | Dave Jiang <[email protected]> | 2024-07-17 10:35:08 -0700 |
commit | a0328b397f3339d8d17a6ec356e94b3c110b010c (patch) | |
tree | 0ae02a46630d221359620c94bacca74fcfb78de3 /scripts/gcc-plugins/structleak_plugin.c | |
parent | 56478475560bde71dd3ef944b5013900272db273 (diff) |
cxl/core/pci: Move reading of control register to immediately before usage
Relocate the reading of the DVSEC control register to immediately
before usage and avoid unnecessary PCI config access from the read
if DVSEC capability check, hdm_count check, or device validity check
results in failure.
Signed-off-by: Foryun Ma <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions