summaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-01-15 04:06:39 +0100
committerDavid S. Miller <davem@davemloft.net>2011-01-16 05:58:11 +0100
commit01a859014b35deb6cc63b1dc2808ca7a0e10a4de (patch)
tree28334f820b4ce3218a643cda0967aaf63886f4a0 /drivers/net/vmxnet3
parentcan: test size of struct sockaddr in sendmsg (diff)
downloadlinux-01a859014b35deb6cc63b1dc2808ca7a0e10a4de.tar.xz
linux-01a859014b35deb6cc63b1dc2808ca7a0e10a4de.zip
caif: checking the wrong variable
In the original code we check if (servl == NULL) twice. The first time should print the message that cfmuxl_remove_uplayer() failed and set "ret" correctly, but instead it just returns success. The second check should be checking the value of "ret" instead of "servl". Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3')
0 files changed, 0 insertions, 0 deletions