diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-02-13 14:50:00 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-19 05:18:49 +0300 |
commit | b51aa532e105722d0dfb21718f0b32780c9e8e8d (patch) | |
tree | dedfca52b111ff33d14fe8a9f4f3cb9ca08309e4 /tools/perf/scripts/python | |
parent | 25d83f9d23d8ff61ba7e2815a2ffc7c974003bdd (diff) | |
download | linux-b51aa532e105722d0dfb21718f0b32780c9e8e8d.tar.xz |
ata: libata-sff: make ata_resources_present() return 'bool'
ata_resources_present() returns 1 if the primary/secondary channel's PCI
resources are present, 0 if not -- the 'bool' type fits somewhat better
here than 'int'...
Use the *= operator, while at it...
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions