Re: [PATCH v2] staging: wilc1000: fix cast to restricted __le32

From: Greg KH
Date: Sat Jan 05 2019 - 04:16:22 EST


On Sat, Jan 05, 2019 at 10:10:25AM +0100, Július Milan wrote:
> Fixes the following sparse warnings:
>
> drivers/staging/wilc1000/host_interface.c:2360:30: warning:
> incorrect type in assignment (different base types)
> expected restricted __le32 [addressable] [assigned] [usertype] frame_type
> got restricted __le16 [usertype] <noident>
>
> Fixes: 147ccfd451024 ("staging: wilc1000: handle mgmt_frame_register ops from cfg82011 context")
> Signed-off-by: Július Milan <jmilan.dev@xxxxxxxxx>
> ---
> drivers/staging/wilc1000/host_interface.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

What changed from v1? Always list that below the --- line, as the
documentation says to do.

Please fix up in your v3 submission :)

greg k-h