Guenter Roeck
044513c1fa
alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
...
[ Upstream commit 35a3f4ef0a ]
Some drivers pass a pointer to volatile data to virt_to_bus() and
virt_to_phys(), and that works fine. One exception is alpha. This
results in a number of compile errors such as
drivers/net/wan/lmc/lmc_main.c: In function 'lmc_softreset':
drivers/net/wan/lmc/lmc_main.c:1782:50: error:
passing argument 1 of 'virt_to_bus' discards 'volatile'
qualifier from pointer target type
drivers/atm/ambassador.c: In function 'do_loader_command':
drivers/atm/ambassador.c:1747:58: error:
passing argument 1 of 'virt_to_bus' discards 'volatile'
qualifier from pointer target type
Declare the parameter of virt_to_phys and virt_to_bus as pointer to
volatile to fix the problem.
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2021-09-30 10:11:07 +02:00
..
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2009-12-12 13:08:14 +01:00
2017-12-04 18:03:39 -05:00
2020-08-03 14:39:35 -07:00
2020-07-21 10:50:35 +01:00
2019-01-04 13:13:46 -08:00
2017-11-02 11:10:55 +01:00
2008-08-15 09:19:40 -07:00
2017-11-02 11:10:55 +01:00
2020-06-08 11:05:58 -07:00
2020-08-20 15:45:15 -04:00
2018-03-12 10:59:03 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2020-08-14 19:56:57 -07:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2008-08-15 09:19:40 -07:00
2018-12-13 21:06:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2008-08-15 09:19:40 -07:00
2017-11-02 11:10:55 +01:00
2008-08-15 09:19:40 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-05-12 19:34:52 +03:00
2017-11-02 11:10:55 +01:00
2009-03-02 16:49:37 -05:00
2020-03-27 23:58:51 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2021-09-30 10:11:07 +02:00
2008-08-15 09:19:40 -07:00
2019-02-10 20:42:14 -08:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2020-04-02 09:35:25 -07:00
2008-08-15 09:19:40 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-08-14 19:56:57 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-07 10:43:42 -07:00
2017-11-02 11:10:55 +01:00
2020-04-10 15:36:21 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-07 07:15:41 +02:00
2017-11-02 11:10:55 +01:00
2010-11-26 15:14:56 +01:00
2020-08-07 11:33:26 -07:00
2020-07-21 10:50:36 +01:00
2018-10-31 08:54:12 -07:00
2017-11-02 11:10:55 +01:00
2020-07-21 10:50:35 +01:00
2017-11-02 11:10:55 +01:00
2008-08-15 09:19:40 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 10:32:44 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-20 21:12:36 -04:00
2018-11-08 04:09:30 -08:00
2018-01-09 23:21:02 +00:00
2017-11-02 11:10:55 +01:00
2019-04-03 10:32:54 +02:00
2020-08-07 11:33:26 -07:00
2019-03-05 21:07:14 -08:00
2017-11-02 11:10:55 +01:00
2020-08-12 10:57:58 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-01-25 17:22:51 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-12-10 10:12:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-12 10:59:03 +01:00
2019-05-24 17:27:13 +02:00