diff options
author | Sergey Shtylyov <[email protected]> | 2022-04-12 20:26:46 +0300 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2022-04-13 12:42:51 +0900 |
commit | dafbbf5c57dd6ae01d20b894bc2200e9d9834c4e (patch) | |
tree | b2ee0defc6b962eb98fd094eb988257bb837382f /tools/perf/scripts/python/sched-migration.py | |
parent | a28c1ab312712c26a8d004af1f68628d625dafac (diff) |
ata: pata_sil680: fix result type of sil680_sel{dev|reg}()
sil680_sel{dev|reg}() return a PCI config space address but needlessly
use the *unsigned long* type for that, whereas the PCI config space
accessors take *int* for the address parameter. Switch these functions
to returning *int*, updating the local variables at their call sites.
Get rid of the 'base' local variables in these functions, while at it...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.
Signed-off-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions