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
..
2020-01-22 10:32:51 -07:00
2021-05-03 13:15:04 -05:00
2021-04-06 09:25:01 -06:00
2019-05-24 17:27:12 +02:00
2019-05-24 17:27:12 +02:00
2020-04-07 14:49:45 -06:00
2019-05-30 11:26:41 -07:00
2020-10-09 12:47:56 -06:00
2017-03-06 15:40:59 -05:00
2019-05-24 17:27:12 +02:00
2020-10-02 14:53:37 -06:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:55 +02: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
2019-11-06 20:34:25 -07: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
2020-03-26 10:28:19 -06: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
2019-05-21 11:28:46 +02:00
2021-03-12 07:28:30 -07:00
2017-11-02 11:10:55 +01:00
2019-07-29 16:00:14 -06:00
2020-03-26 10:28:20 -06:00
2020-03-26 10:28:19 -06: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
2020-08-23 17:36:59 -05:00
2018-03-01 13:59:03 -08:00
2019-08-23 06:58:50 -06:00
2020-10-02 17:51:30 -06:00
2019-05-21 10:50:45 +02:00
2021-06-16 06:50:25 -06:00
2021-06-16 06:50:25 -06:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2021-06-16 08:52:38 -06:00
2019-05-21 10:50:45 +02:00
2021-05-27 13:03:48 -06:00
2021-08-11 22:25:37 -04:00
2019-05-21 10:50:45 +02:00
2018-03-19 07:41:36 -07:00
2021-03-12 07:28:31 -07:00
2019-08-26 13:58:59 -06: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
2018-08-24 13:20:33 -07:00
2019-05-21 10:50:45 +02:00
2021-03-30 20:21:25 -06:00
2019-05-21 10:50:45 +02: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
2018-02-18 05:23:25 -08:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 11:28:46 +02:00
2021-03-12 07:28:31 -07:00
2021-05-19 15:54:42 -06:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2021-03-30 20:21:26 -06:00
2021-03-12 07:28:31 -07:00
2019-06-19 17:09:55 +02:00
2020-01-29 20:54:51 -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
2019-11-01 08:50:51 -06:00
2019-05-21 10:50:45 +02:00
2021-06-24 18:49:01 -06:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2021-06-16 06:50:25 -06:00
2019-06-05 17:37:00 +02: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
2019-11-01 08:50:51 -06:00
2021-07-27 19:30:06 -06:00
2021-05-17 09:12:40 -06:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2021-05-18 15:17:46 -06:00
2020-04-23 09:59:30 -06:00
2021-10-25 08:53:04 +09:00
2021-06-16 06:50:25 -06:00
2020-08-23 17:36:59 -05:00
2019-05-21 11:28:46 +02:00
2019-11-01 08:50:51 -06:00
2020-10-16 09:32:11 -06:00
2021-06-16 06:50:25 -06:00
2019-11-01 08:50:51 -06:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2020-08-23 17:36:59 -05:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2019-08-26 13:58:59 -06:00
2017-11-02 11:10:55 +01:00