summaryrefslogtreecommitdiff
path: root/drivers/net/3c501.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-25 20:03:02 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-04-25 20:03:02 (GMT)
commitbf734843120b905bacc3d24c88d7455ae70bf6e1 (patch)
tree280e72e3d33b90e302485875b82b520e13c89513 /drivers/net/3c501.h
parent345578d97c549995ddbcc178f16f710602cc06bb (diff)
downloadlinux-fsl-qoriq-bf734843120b905bacc3d24c88d7455ae70bf6e1.tar.xz
bluetooth: Fix use-before-initiailized var.
net/bluetooth/l2cap_core.c: In function ‘l2cap_recv_frame’: net/bluetooth/l2cap_core.c:3612:15: warning: ‘sk’ may be used uninitialized in this function net/bluetooth/l2cap_core.c:3612:15: note: ‘sk’ was declared here Actually the problem is in the inline function l2cap_data_channel(), we branch to the label 'done' which tests 'sk' before we set it to anything. Initialize it to NULL to fix this. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c501.h')
0 files changed, 0 insertions, 0 deletions