Re: [PATCH] staging: wilc1000: Fix type of argument in ieee80211_is_action()
From: Dan Carpenter
Date: Tue Jun 12 2018 - 09:14:36 EST
On Sun, Jun 10, 2018 at 12:40:17PM +0530, Nishad Kamdar wrote:
> Type used is unsigned char but expected is restricted __le16.
> Warning reported by sparse. Part of eudyptula challenge.
>
The code is buggy, but this fix just papers over it. We discussed this
code earlier.
https://lkml.org/lkml/2018/6/5/304
regards,
dan carpenter