lkml.org 
[lkml]   [2023]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next] reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
Date
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

\
 
 \ /
  Last update: 2023-11-29 12:45    [W:0.051 / U:23.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site