summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2017-10-24 16:58:26 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-26 11:31:28 +0300
commitacfdf7eabea4186a386ba5e656f0c739563cb1a5 (patch)
tree38da8217dc5a1c9c5f30ebe9d4117405a9d01bd2 /scripts/const_structs.checkpatch
parent63207425536a659462fff4c6fbf474f789a91c7d (diff)
downloadlinux-acfdf7eabea4186a386ba5e656f0c739563cb1a5.tar.xz
cxgb4: fix overflow in collecting IBQ and OBQ dump
Destination buffer already has offset added. So, don't add offset again. Fetch actual size of configured OBQ from hardware, instead of using hardcoded value. Fixes: 7c075ce221cf ("cxgb4: collect IBQ and OBQ dumps") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions