summaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorZheyu Ma <zheyuma97@gmail.com>2021-10-22 09:12:26 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-02 19:50:51 +0100
commit43849df432c9f727e27cca65f54ff09992b50ae4 (patch)
treeb05d00e4eee975f09c09c6eb9020ec263cfbb87d /CREDITS
parent66a1c8748068063e16088b641e7d66fbaf306adb (diff)
ata: sata_mv: Fix the error handling of mv_chip_id()
commit a0023bb9dd9bc439d44604eeec62426a990054cd upstream. mv_init_host() propagates the value returned by mv_chip_id() which in turn gets propagated by mv_pci_init_one() and hits local_pci_probe(). During the process of driver probing, the probe function should return < 0 for failure, otherwise, the kernel will treat value > 0 as success. Since this is a bug rather than a recoverable runtime error we should use dev_alert() instead of dev_err(). Signed-off-by: Zheyu Ma <zheyuma97@gmail.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions