net/atlantic: fix arguments check
authorIgor Russkikh <igor.russkikh@aquantia.com>
Mon, 29 Apr 2019 08:20:27 +0000 (08:20 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commite949eaa5b3c99b90aaa530cb9efb2af7aa69c654
tree57a9830b40d12e4e05bc372234d91b38df59975a
parent3d19de22356ec54760591a8bf15084705881f9e1
net/atlantic: fix arguments check

Found by Coverity scan, two pointer args should be not zero checked

Coverity issue: 337929
Fixes: 2f40244b39ba ("net/atlantic: implement MACsec firmware interface")

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c