Damien Le Moal
2ce3a0bf20
ata: ahci_qoriq: Fix compilation warning
...
When compiling with clang and W=1, the following warning is generated:
drivers/ata/ahci_qoriq.c:283:22: error: cast to smaller integer type
'enum ahci_qoriq_type' from 'const void *'
[-Werror,-Wvoid-pointer-to-enum-cast]
qoriq_priv->type = (enum ahci_qoriq_type)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fix this by using a cast to unsigned long to match the "void *" type
size of of_id->data.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
2022-10-18 08:02:14 +09:00
..
2022-02-20 09:06:05 +09:00
2022-10-18 08:01:57 +09:00
2022-03-07 11:49:10 +09:00
2022-09-17 01:39:22 +09:00
2022-09-17 01:39:22 +09:00
2022-09-17 01:40:31 +09:00
2022-10-18 08:02:14 +09:00
2022-09-17 01:39:30 +09:00
2022-03-28 12:27:35 -07:00
2022-03-07 11:49:10 +09:00
2022-09-17 01:40:15 +09:00
2022-10-18 08:02:14 +09:00
2019-06-19 17:09:07 +02:00
2022-10-17 22:01:57 +09:00
2022-03-07 11:49:10 +09:00
2021-04-11 20:35:08 -06:00
2022-10-18 08:02:14 +09:00
2022-09-17 01:39:54 +09:00
2022-10-17 12:02:59 +09:00
2021-03-30 20:21:26 -06:00
2022-02-19 11:18:35 +09:00
2022-09-20 08:52:02 +09:00
2022-09-17 01:40:11 +09:00
2022-09-17 01:40:02 +09:00
2022-06-17 16:35:02 +09:00
2022-10-07 10:48:49 -07:00
2022-10-07 10:48:49 -07:00
2020-03-26 10:28:19 -06:00
2022-01-05 19:33:01 +09:00
2022-10-07 10:48:49 -07:00
2022-10-07 10:48:49 -07:00
2022-09-16 23:24:06 +09:00
2022-01-05 19:33:01 +09:00
2022-06-13 11:42:58 +09:00
2017-11-02 11:10:55 +01:00
2019-07-29 16:00:14 -06:00
2022-08-26 07:46:08 +09:00
2022-09-17 01:40:15 +09:00
2022-06-17 16:35:02 +09:00
2022-06-17 16:35:02 +09:00
2022-06-17 16:35:02 +09:00
2022-02-19 11:18:35 +09:00
2022-02-19 11:18:42 +09:00
2022-01-31 09:58:32 +09:00
2022-01-05 19:33:02 +09:00
2018-03-01 13:59:03 -08:00
2019-08-23 06:58:50 -06:00
2022-01-05 19:33:03 +09:00
2022-01-05 19:33:02 +09:00
2022-02-19 11:18:35 +09:00
2021-06-16 06:50:25 -06:00
2022-06-30 08:21:43 +09:00
2022-01-05 19:33:03 +09:00
2022-01-05 19:33:03 +09:00
2019-05-21 10:50:45 +02:00
2022-02-20 09:06:05 +09:00
2021-11-29 20:28:13 +09:00
2022-05-16 20:22:37 +09:00
2018-03-19 07:41:36 -07:00
2022-06-17 16:35:02 +09:00
2019-08-26 13:58:59 -06:00
2022-06-17 16:35:02 +09:00
2022-06-17 16:35:02 +09:00
2021-01-31 08:05:46 -07:00
2022-02-19 11:18:35 +09:00
2019-05-21 10:50:45 +02:00
2022-01-14 15:17:16 +09:00
2019-05-21 10:50:45 +02:00
2022-03-07 11:49:10 +09:00
2021-03-12 07:28:31 -07:00
2021-10-12 09:52:35 +09:00
2022-09-16 23:24:06 +09:00
2022-04-22 08:45:06 +09:00
2022-06-22 12:51:49 +10:00
2019-05-21 10:50:45 +02:00
2022-01-14 15:17:16 +09:00
2019-08-26 13:58:59 -06:00
2019-05-21 11:28:46 +02:00
2022-02-20 09:06:05 +09:00
2022-06-06 09:52:17 +09:00
2022-03-07 11:49:10 +09:00
2019-05-21 10:50:45 +02:00
2021-03-30 20:21:26 -06:00
2021-10-12 17:46:59 +09:00
2022-04-20 13:29:34 +02:00
2020-01-29 20:54:51 -07:00
2022-01-31 09:58:32 +09:00
2022-06-17 16:35:02 +09:00
2021-03-30 20:21:25 -06:00
2022-01-31 09:58:31 +09:00
2022-03-10 11:17:59 +09:00
2021-10-12 17:47:02 +09:00
2021-06-24 18:49:01 -06:00
2019-05-21 11:28:46 +02:00
2022-01-05 19:33:03 +09:00
2022-02-20 09:06:05 +09:00
2021-06-16 06:50:25 -06:00
2019-06-05 17:37:00 +02:00
2022-06-17 16:35:02 +09:00
2022-04-13 12:42:51 +09:00
2022-06-17 16:35:02 +09:00
2021-03-30 20:21:25 -06:00
2022-02-19 11:18:35 +09:00
2022-06-17 16:35:02 +09:00
2022-01-05 19:33:01 +09:00
2022-04-04 09:56:34 +09:00
2022-03-23 14:35:59 -07:00
2022-04-22 08:38:18 +09:00
2017-11-02 11:10:55 +01:00
2022-03-07 11:49:10 +09:00
2022-02-20 09:06:05 +09:00
2022-08-03 07:59:12 +09:00
2022-01-05 19:33:02 +09:00
2022-01-05 19:33:01 +09:00
2019-05-21 11:28:46 +02:00
2022-01-05 19:33:02 +09:00
2022-10-18 08:01:45 +09:00
2022-01-04 20:00:57 +09:00
2022-01-05 19:33:02 +09:00
2019-05-21 11:28:46 +02:00
2022-02-20 09:06:05 +09:00
2022-01-05 19:33:03 +09:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2022-02-20 09:06:05 +09:00
2017-11-02 11:10:55 +01:00