Arnd Bergmann
e593beaf60
phy: ralink: fix 64-bit build warning
...
Casting between an 'int' and a pointer causes a warning on
64-bit architectures in compile-testing this driver:
drivers/phy/ralink/phy-ralink-usb.c: In function 'ralink_usb_phy_probe':
drivers/phy/ralink/phy-ralink-usb.c:195:13: error: cast from pointer to
integer of different size [-Werror=pointer-to-int-cast]
This changes the code to cast to uintptr_t instead. This is
guaranteed to do what we want on all architectures and avoids
the warning.
Fixes: 2411a736ff ("phy: ralink-usb: add driver for Mediatek/Ralink")
Acked-by: John Crispin <john@phrozen.org >
Tested-by Harvey Hunt <harvey.hunt@imgtec.com >
Reviewed-by Harvey Hunt <harvey.hunt@imgtec.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-08-24 17:26:50 -07:00
..
2017-08-13 12:33:35 -07:00
2017-07-17 14:44:19 +02:00
2017-07-31 08:03:06 -07:00
2017-07-18 11:37:46 -07:00
2017-08-13 12:44:18 -07:00
2017-08-10 15:54:07 -07:00
2017-07-05 12:31:59 -07:00
2017-08-04 12:57:18 +02:00
2017-06-27 12:13:45 -06:00
2017-08-08 09:36:46 -07:00
2017-08-02 18:37:26 -07:00
2017-07-17 22:43:00 +02:00
2017-08-03 20:29:24 +02:00
2017-08-08 20:21:23 +10:00
2017-08-03 13:36:11 +08:00
2017-07-28 12:17:17 -07:00
2017-07-06 10:17:24 +09:00
2017-07-08 12:36:50 -07:00
2017-07-31 10:55:24 -03:00
2017-06-29 10:37:50 +02:00
2017-07-12 16:26:02 -07:00
2017-07-17 16:13:54 +02:00
2017-08-02 10:42:38 +02:00
2017-08-10 11:45:04 +10:00
2017-07-24 17:38:21 +02:00
2017-07-04 14:28:22 -07:00
2017-07-17 15:00:47 +02:00
2017-07-15 16:38:56 -07:00
2017-07-03 20:55:59 -07:00
2017-07-31 17:05:16 +02:00
2017-07-21 04:37:22 +01:00
2017-06-29 22:58:35 +02:00
2017-07-23 20:54:31 -07:00
2017-08-07 13:30:40 -04:00
2017-07-14 22:53:37 -07:00
2017-08-11 16:56:51 +02:00
2017-07-18 21:59:23 +02:00
2017-08-09 10:14:04 -07:00
2017-07-06 11:32:40 -07:00
2017-07-28 08:06:00 -06:00
2017-07-05 13:13:32 -07:00
2017-07-26 02:11:47 +02:00
2017-07-28 12:24:21 -07:00
2017-07-26 06:14:33 -04:00
2017-07-04 14:47:47 -07:00
2017-07-11 09:55:47 -07:00
2017-08-10 14:13:18 -07:00
2017-08-09 13:19:44 +02:00
2017-08-12 14:53:24 -07:00
2017-07-17 16:38:35 +02:00
2017-08-09 22:41:04 -07:00
2017-07-01 14:30:39 -07:00
2017-07-06 11:30:08 -04:00
2017-07-17 11:43:58 -07:00
2017-08-10 19:53:44 +02:00
2017-07-17 16:15:57 +02:00
2017-08-01 15:17:06 +01:00
2017-07-31 16:43:13 +02:00
2017-08-01 20:11:02 -05:00
2017-07-27 13:43:22 +01:00
2017-08-24 17:26:50 -07:00
2017-08-09 14:30:34 -07:00
2017-08-05 14:37:19 -07:00
2017-07-07 12:40:27 -07:00
2017-08-15 15:05:01 +03:00
2017-06-28 00:38:34 +02:00
2017-08-01 15:22:55 -07:00
2017-07-13 11:49:52 -07:00
2017-07-05 17:09:27 -07:00
2017-07-03 16:52:21 +01:00
2017-06-27 16:21:34 -07:00
2017-07-04 14:47:47 -07:00
2017-07-06 15:38:31 -07:00
2017-07-13 12:15:06 -07:00
2017-08-07 11:24:37 -07:00
2017-07-20 12:37:10 -07:00
2017-08-12 12:08:59 -07:00
2017-07-06 16:24:30 -07:00
2017-07-27 13:12:34 +02:00
2017-07-08 10:41:53 -07:00
2017-07-17 15:00:47 +02:00
2017-08-13 12:30:17 -07:00
2017-08-09 20:55:19 -07:00
2017-07-14 13:12:32 -07:00
2017-08-13 12:41:58 -07:00
2017-08-13 12:33:35 -07:00
2017-08-22 13:16:06 -07:00
2017-08-10 11:31:27 -07:00
2017-07-27 10:39:33 -06:00
2017-07-29 14:15:56 -07:00
2017-07-31 18:45:41 +02:00
2017-07-25 16:37:35 +03:00
2017-07-17 16:48:15 +02:00
2017-07-11 09:59:37 -07:00
2017-08-11 16:46:01 +02:00