aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2018-03-24 11:32:43 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-26 12:12:26 -0400
commit3bd6d258b1d5f76744567855d1376358a94f127d (patch)
treeca04c0b52d7535df3c67d163774535b9d9e1258d /tools/perf/scripts/python/bin
parentnet: qualcomm: rmnet: check for null ep to avoid null pointer dereference (diff)
downloadlinux-3bd6d258b1d5f76744567855d1376358a94f127d.tar.gz
linux-3bd6d258b1d5f76744567855d1376358a94f127d.zip
net: hns3: fix for returning wrong value problem in hns3_get_rss_key_size
The return type of hns3_get_rss_key_size is u32. But a negative value is returned. This patch fixes it by replacing the negative value with zero. Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions