summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-18 16:46:38 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-19 06:11:43 +0300
commit381897798a94065ffcad0772eecdc6b04a7ff23d (patch)
treebfc86186fb6cc7065f1a5bebd2a34d8751da5d94 /tools/perf/scripts/python/call-graph-from-sql.py
parent71d117f527425e2d6a5029e8365d82a8d2d6916a (diff)
downloadlinux-381897798a94065ffcad0772eecdc6b04a7ff23d.tar.xz
net/smc: fix sizeof to int comparison
Comparing an int to a size, which is unsigned, causes the int to become unsigned, giving the wrong result. kernel_sendmsg can return a negative error code. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions