On Tue, Aug 15, 2023 at 04:32:03PM +0200, Krzysztof Kozlowski wrote: > 'devtype' is an enum, thus cast of pointer on 64-bit compile test with > W=1 causes: > > wm8904.c:2205:21: error: cast to smaller integer type 'enum wm8904_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> > --- Acked-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx> Thanks, Charles