aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-02-19 01:43:33 +0800
committerJens Axboe <axboe@kernel.dk>2019-02-28 14:07:48 -0700
commit3bac408a8bcaa2b06e44a3a0254ca26b1ca3025a (patch)
treec6c37ac30db57783d3c6332d132d33309a6273a9 /drivers/md/dm-rq.c
parentlibata: fix a typo in comment (diff)
downloadlinux-dev-3bac408a8bcaa2b06e44a3a0254ca26b1ca3025a.tar.xz
linux-dev-3bac408a8bcaa2b06e44a3a0254ca26b1ca3025a.zip
ata: libahci: Only warn for AHCI_HFLAG_MULTI_MSI set when genuine custom irq handler implemented
For an AHCI controller with AHCI_HFLAG_MULTI_MSI flag set, we may get the following log, regardless of whether a custom irq handler was implemented or not: [ 14.700238] ahci 0000:74:03.0: both AHCI_HFLAG_MULTI_MSI flag set and custom irq handler implemented This is because we can set hpriv->irq_handler to ahci_single_level_irq_intr() if not already set, in ahci_init_one()->ahci_pci_save_initial_config()->ahci_save_initial_config(). Stop having this warn being misleading by adding a check for hpriv->irq_handler != ahci_single_level_irq_intr. Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions