summary refs log tree commit diff
path: root/sound
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-08-08 02:43:46 +0000
committerDavid S. Miller <davem@davemloft.net>2018-08-08 18:36:49 -0700
commit470770bf841b49fe129876300dfcb74a8bbabe99 (patch)
tree754bae41483258fa3fdf02af2229cb7bcf6c6761 /sound
parent1c9f4a3fce770f194647dd1441502dd5b84ca883 (diff)
downloadlinux-470770bf841b49fe129876300dfcb74a8bbabe99.tar.gz
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 'sound')
0 files changed, 0 insertions, 0 deletions