diff options
author | Dan Williams <[email protected]> | 2022-04-08 12:58:44 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-04-08 12:59:43 -0700 |
commit | d28820419ca332f856cdf8bef0cafed79c29ed05 (patch) | |
tree | 8b69d6900c688aed4dc5f43730ea7cf58ab41d8a /scripts/bpf_doc.py | |
parent | e8cf229ebe5eb31eecee86268223530a872872c2 (diff) |
cxl/pci: Drop shadowed variable
0day reports that wait_for_media_ready() declares an @rc variable twice.
>> drivers/cxl/pci.c:439:7: warning: Local variable 'rc' shadows outer variable [shadowVariable]
int rc;
^
drivers/cxl/pci.c:431:6: note: Shadowed declaration
int rc, i;
^
drivers/cxl/pci.c:439:7: note: Shadow variable
int rc;
^
Cc: Randy Dunlap <[email protected]>
Fixes: 523e594d9cc0 ("cxl/pci: Implement wait for media active")
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Vishal Verma <[email protected]>
Link: https://lore.kernel.org/r/164944636936.455177.14136200464724208233.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions