aboutsummaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2009-04-20 18:32:08 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-21 01:47:08 -0700
commit1a44cc3778f63dca5795708da2a2a7696da7fd61 (patch)
tree44a95e152ab8d540a54012a9484ebd02945d937a /firmware
parentb1b243afac302d181d19c8024c355d9677beab49 (diff)
downloadmrst-s0i3-test-1a44cc3778f63dca5795708da2a2a7696da7fd61.tar.gz
mrst-s0i3-test-1a44cc3778f63dca5795708da2a2a7696da7fd61.tar.xz
mrst-s0i3-test-1a44cc3778f63dca5795708da2a2a7696da7fd61.zip
mlx4_en: Fix cleanup if workqueue create in mlx4_en_add() fails
If creating a workqueue fails, don't jump to the error path where that same workqueue is destroyed, since destroy_workqueue() can't handle a NULL pointer. This was spotted by the Coverity checker (CID 2617). Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions