]> git.baikalelectronics.ru Git - kernel.git/commit
NTB: variable dereferenced before check
authorJon Mason <jon.mason@intel.com>
Tue, 22 Jan 2013 18:35:40 +0000 (11:35 -0700)
committerJon Mason <jon.mason@intel.com>
Wed, 15 May 2013 17:57:17 +0000 (10:57 -0700)
commit3520ee426cb4a1fc5cc5e1144a46920d927000ba
tree4f4738bb432a30ae4a0d3e2ddf13251cf3095746
parent9dd09e6de2d6786a50b589a77aeec22d46f3a4ab
NTB: variable dereferenced before check

Correct instances of variable dereferencing before checking its value on
the functions exported to the client drivers.  Also, add sanity checks
for all exported functions.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_transport.c