Zheyu Ma
a0023bb9dd
ata: sata_mv: Fix the error handling of mv_chip_id()
...
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 >
2021-10-25 08:53:04 +09:00
..
2021-05-03 13:15:04 -05:00
2021-04-06 09:25:01 -06:00
2021-06-14 08:26:54 -06:00
2021-04-11 20:35:08 -06:00
2021-03-12 07:28:30 -07:00
2021-06-15 15:43:58 -06:00
2021-06-16 06:50:25 -06:00
2021-03-30 20:21:26 -06:00
2021-07-10 09:22:44 -07:00
2021-10-14 12:22:47 +09:00
2021-08-18 07:19:39 -06:00
2021-03-30 20:21:26 -06:00
2021-09-03 08:06:02 -06:00
2021-08-11 22:25:37 -04:00
2021-03-12 07:28:30 -07:00
2021-08-18 07:19:39 -06:00
2021-09-02 15:09:46 -07:00
2021-07-09 08:28:20 -06:00
2021-03-12 07:28:30 -07:00
2021-03-30 20:21:26 -06:00
2021-03-12 07:28:30 -07:00
2021-03-12 07:28:30 -07:00
2021-03-26 17:13:02 -06:00
2021-03-12 07:28:30 -07:00
2021-06-16 06:50:25 -06:00
2021-06-16 06:50:25 -06:00
2021-06-16 06:50:25 -06:00
2021-06-16 08:52:38 -06:00
2021-05-27 13:03:48 -06:00
2021-08-11 22:25:37 -04:00
2021-03-12 07:28:31 -07:00
2021-03-12 07:28:30 -07:00
2021-03-12 07:28:30 -07:00
2021-01-31 08:05:46 -07:00
2021-03-30 20:21:25 -06:00
2021-08-04 12:20:44 +02:00
2021-03-12 07:28:31 -07:00
2021-10-12 09:52:35 +09:00
2021-06-16 06:50:26 -06:00
2021-03-12 07:28:31 -07:00
2021-03-12 07:28:31 -07:00
2021-05-19 15:54:42 -06:00
2021-03-30 20:21:26 -06:00
2021-03-12 07:28:31 -07:00
2021-03-30 20:21:25 -06:00
2021-03-12 07:28:31 -07:00
2021-03-30 20:21:25 -06:00
2021-04-06 09:27:30 -06:00
2021-06-24 18:49:01 -06:00
2021-06-16 06:50:25 -06:00
2021-06-16 06:50:26 -06:00
2021-03-30 20:21:25 -06:00
2021-03-30 20:21:25 -06:00
2021-03-30 20:21:25 -06:00
2021-03-30 20:21:25 -06:00
2021-03-30 20:21:25 -06:00
2021-07-27 19:30:06 -06:00
2021-05-17 09:12:40 -06:00
2021-05-18 15:17:46 -06:00
2021-10-25 08:53:04 +09:00
2021-06-16 06:50:25 -06:00
2021-06-16 06:50:25 -06:00