diff options
author | 2018-08-08 02:43:46 +0000 | |
---|---|---|
committer | 2018-08-08 18:36:49 -0700 | |
commit | 470770bf841b49fe129876300dfcb74a8bbabe99 (patch) | |
tree | 754bae41483258fa3fdf02af2229cb7bcf6c6761 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ieee802154: hwsim: fix rcu handling (diff) | |
download | linux-rng-470770bf841b49fe129876300dfcb74a8bbabe99.tar.xz linux-rng-470770bf841b49fe129876300dfcb74a8bbabe99.zip |
ieee802154: hwsim: fix copy-paste error in hwsim_set_edge_lqi()
The return value from kzalloc() is not checked correctly. The
test is done against a wrong variable. This patch fix it.
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions