diff options
| author | Dan Carpenter <[email protected]> | 2018-04-03 08:52:22 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-04-10 01:32:45 +0000 |
| commit | ccc495efb326d17be3e7790b5aa49b25e239ead7 (patch) | |
| tree | 0175dd4432acf6e8aa060516df77280eb4207a60 /fs/proc/array.c | |
| parent | scsi: dpt_i2o: Use after free in I2ORESETCMD ioctl (diff) | |
| download | kernel-ccc495efb326d17be3e7790b5aa49b25e239ead7.tar.gz kernel-ccc495efb326d17be3e7790b5aa49b25e239ead7.zip | |
scsi: cxgb4i: silence overflow warning in t4_uld_rx_handler()
Smatch marks skb->data as untrusted so it complains that there is a
potential overflow here:
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:2111 t4_uld_rx_handler()
error: buffer overflow 'cxgb4i_cplhandlers' 239 <= 255.
In this case, skb->data comes from the hardware or firmware so it's not
going to overflow unless there is a firmware bug.
[mkp: fixed braces]
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
