On Wed, 25 May 2022 22:14:59 -0300, Fabio Estevam wrote: > 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] > > Applied, thanks! [1/1] rtc: mxc: Silence a clang warning commit: f78e3d407a339ffdd2620140300f821ea41118f4 Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com