linux-stable/drivers/phy
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
..
allwinner phy: sun4i-usb: Support A83T USB PHYs 2017-08-22 10:11:18 +05:30
amlogic phy: meson8b-usb2: add support for the USB PHY on Meson8 SoCs 2017-06-06 14:50:14 +05:30
broadcom phy: for 4.14 2017-08-22 13:20:12 -07:00
hisilicon phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
marvell phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
mediatek phy: phy-mt65xx-usb3: add mediatek directory and rename file 2017-08-20 13:59:51 +05:30
motorola phy: cpcap-usb: remove a stray tab 2017-08-22 10:11:26 +05:30
qualcomm phy: qcom-qmp: Fix failure path in phy_init functions 2017-08-20 13:59:46 +05:30
ralink phy: ralink: fix 64-bit build warning 2017-08-24 17:26:50 -07:00
renesas phy: rcar-gen3-usb3: add support for R-Car Gen3 USB 3.0 PHY 2017-06-07 17:55:13 +05:30
rockchip phy: rockchip-typec: remove unused dfp variable 2017-08-22 10:11:24 +05:30
samsung phy: samsung: use of_device_get_match_data() 2017-08-20 13:59:52 +05:30
st phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
tegra phy: fix returnvar.cocci warnings 2016-11-18 18:19:16 +05:30
ti phy: phy-twl4030-usb: silence an uninitialized variable warning 2017-08-22 10:11:25 +05:30
Kconfig phy: ralink-usb: add driver for Mediatek/Ralink 2017-08-20 14:02:23 +05:30
Makefile phy: ralink-usb: add driver for Mediatek/Ralink 2017-08-20 14:02:23 +05:30
phy-core.c phy: Add reset callback 2016-09-10 17:31:39 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: fix clock order in phy init 2015-08-10 20:11:58 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30