Messages in this thread | | | From | Philipp Zabel <> | Subject | Re: [PATCH net-next] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning | Date | Wed, 29 Nov 2023 12:45:03 +0100 |
| |
On Thu, 10 Aug 2023 11:13:00 +0200, Krzysztof Kozlowski wrote: > 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1 > causes: > > hi6220_reset.c:166:9: error: cast to smaller integer type 'enum hi6220_reset_ctrl_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast] > >
Applied to reset/fixes, thanks!
[1/1] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning https://git.pengutronix.de/cgit/pza/linux/commit/?id=b5ec29447279
regards Philipp
| |