diff options
| author | Fabio Estevam <[email protected]> | 2022-05-26 01:14:59 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2022-06-01 21:19:17 +0000 |
| commit | f78e3d407a339ffdd2620140300f821ea41118f4 (patch) | |
| tree | 5e00ac62254bfb0b02d4a95ca8581749dfad0d59 /drivers/usb/cdns3/cdns3-gadget.c | |
| parent | rtc: rzn1: Fix a variable type (diff) | |
| download | kernel-f78e3d407a339ffdd2620140300f821ea41118f4.tar.gz kernel-f78e3d407a339ffdd2620140300f821ea41118f4.zip | |
rtc: mxc: Silence a clang warning
Change the of_device_get_match_data() cast to (uintptr_t)
to silence the following clang warning:
drivers/rtc/rtc-mxc.c:315:19: warning: cast to smaller integer type 'enum imx_rtc_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
Reported-by: kernel test robot <[email protected]>
Fixes: ba7aa63000f2 ("rtc: mxc: use of_device_get_match_data")
Signed-off-by: Fabio Estevam <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions
