Re: [patch] Staging: rtl8192e: off by one in rtl8192_get_channel_map()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 21, 2011 at 10:33:34AM -0500, Larry Finger wrote:
> On 09/21/2011 02:17 AM, Dan Carpenter wrote:
> >COUNTRY_CODE_MAX is not a valid country code.  We're off by one here.
> >This gets passed to Dot11d_Channelmap() where it's used as an offset
> >into the ChannelPlan[] array.
> >
> >Signed-off-by: Dan Carpenter<dan.carpenter@xxxxxxxxxx>
> 
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> 
> Dan, good catch.  Did this cause a problem, or did you find it while
> reading the code?
> 

It was a Smatch thing.  I caught it when I updated my smatch_data/.

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux