]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
NTB: Fix dereference before check
authorAllen Hubbe <Allen.Hubbe@emc.com>
Mon, 13 Jul 2015 12:07:14 +0000 (08:07 -0400)
committerJon Mason <jdmason@kudzu.us>
Sun, 9 Aug 2015 20:32:22 +0000 (16:32 -0400)
commit30a4bb1e5a9d7e283af6e29da09362104b67d7aa
tree406f81ed8d099e0f75e70d8fbf0dd0d3952f82d7
parent8c9edf63e75f036b42afb4502deb20bbfb5004b4
NTB: Fix dereference before check

Remove early dereference of a pointer that is checked later in the code.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c