commit | f535c7506dfe3c0e829b4232b5c2d205254bc981 | [log] [tgz] |
---|---|---|
author | Xu Wang <vulab@iscas.ac.cn> | Thu Mar 26 18:14:29 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 24 07:58:46 2020 +0200 |
tree | 0477ecd3474169640dc0ccdb0182f36125a46044 | |
parent | 3c56ccde964aef46c69e6f7065090743bc7512b9 [diff] |
qlcnic: Fix bad kzalloc null test [ Upstream commit bcaeb886ade124331a6f3a5cef34a3f1484c0a03 ] In qlcnic_83xx_get_reset_instruction_template, the variable of null test is bad, so correct it. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>