Hi Srinivasan, On Fri, Apr 29, 2022 at 8:49 PM Srinivasan Raju <srini.raju@xxxxxxxxxxxx> wrote: > > Fixed the following warning > drivers/net/wireless/purelifi/plfxlc/chip.c:36:31: sparse: expected unsigned short [usertype] beacon_interval > drivers/net/wireless/purelifi/plfxlc/chip.c:36:31: sparse: got restricted __le16 [usertype] > > Reported-by: kernel test robot <lkp@xxxxxxxxx> > Signed-off-by: Srinivasan Raju <srini.raju@xxxxxxxxxxxx> > --- > drivers/net/wireless/purelifi/plfxlc/chip.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/wireless/purelifi/plfxlc/chip.c b/drivers/net/wireless/purelifi/plfxlc/chip.c > index a5ec10b66ed5..5d952ca07195 100644 > --- a/drivers/net/wireless/purelifi/plfxlc/chip.c > +++ b/drivers/net/wireless/purelifi/plfxlc/chip.c > @@ -30,10 +30,10 @@ int plfxlc_set_beacon_interval(struct plfxlc_chip *chip, u16 interval, > { > if (!interval || > (chip->beacon_set && > - le16_to_cpu(chip->beacon_interval) == interval)) > + chip->beacon_interval) == interval) Shouldn't that first ")" go at the end of the line? Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx Profile: http://www.google.com/profiles/julian.calaby/