Re: [linuxwifi] [patch] iwlwifi: mvm: fix a range check in debugfs code

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

 



Hi Dan

On 08/11/2015 12:45 AM, Dan Carpenter wrote:
> The &mvm->tof_data.range_req.ap[] array has IWL_MVM_TOF_MAX_APS elements
> so the check should be >= instead of >.  Also the test can underflow so
> I have changed "i" to unsigned.
> 
> Fixes: ce7929186a39 ('wlwifi: mvm: add basic Time of Flight (802.11mc FTM) support')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 

Thanks - I added it in our internal tree.
--
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