diff options
| author | Krzysztof Kozlowski <[email protected]> | 2021-05-28 08:41:54 -0400 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-05-28 15:05:55 -0700 |
| commit | 41a6bf50ee04a604f84ba8989055781d68061ed6 (patch) | |
| tree | 1b50a7c6ff3bf2d75d8a41bfa677bb118d3f6d89 /tools/perf/scripts/python | |
| parent | 26f20ff5e207ed87340fc574cb3b360a2581272c (diff) | |
nfc: mrvl: skip impossible NCI_MAX_PAYLOAD_SIZE check
The nci_ctrl_hdr.plen field us u8, so checkign if it is bigger than
NCI_MAX_PAYLOAD_SIZE does not make any sense. Fix warning reported by
Smatch:
drivers/nfc/nfcmrvl/i2c.c:52 nfcmrvl_i2c_read() warn:
impossible condition '(nci_hdr.plen > 255) => (0-255 > 255)'
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions