diff options
| author | 2020-03-20 16:21:17 +0300 | |
|---|---|---|
| committer | 2020-03-23 21:05:13 -0700 | |
| commit | 0dcdf9f64028ec3b75db6b691560f8286f3898bf (patch) | |
| tree | f4c63d1d07996645851f6406368ba4e7d7e1084b /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | ipv4: fix a RCU-list lock in inet_dump_fib() (diff) | |
| download | linux-dev-0dcdf9f64028ec3b75db6b691560f8286f3898bf.tar.xz linux-dev-0dcdf9f64028ec3b75db6b691560f8286f3898bf.zip | |
NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
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@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
