Re: [PATCH net] NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()

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

 



From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Date: Fri, 20 Mar 2020 16:21:17 +0300

> The nci_conn_max_data_pkt_payload_size() function sometimes returns
> -EPROTO so "max_size" needs to be signed for the error handling to
> work.  We can make "payload_size" an int as well.
> 
> Fixes: a06347c04c13 ("NFC: Add Intel Fields Peak NFC solution driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Applied and queued up for -stable, thanks Dan.



[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