summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci_xgene.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2022-02-13 12:50:00 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-02-19 03:18:49 +0100
commitb51aa532e105722d0dfb21718f0b32780c9e8e8d (patch)
treededfca52b111ff33d14fe8a9f4f3cb9ca08309e4 /drivers/ata/ahci_xgene.c
parentata: pata_hpt3x2n: disable fast interrupts in prereset() method (diff)
downloadlinux-b51aa532e105722d0dfb21718f0b32780c9e8e8d.tar.xz
linux-b51aa532e105722d0dfb21718f0b32780c9e8e8d.zip
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 'drivers/ata/ahci_xgene.c')
0 files changed, 0 insertions, 0 deletions