aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_framebuffer.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-11-01 08:25:30 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-07 22:23:41 -0500
commit9ae4f8420ed7be4b13c96600e3568c144d101a23 (patch)
treefde8005b2163ebd820874638ba6ff552b642cc78 /drivers/gpu/drm/drm_framebuffer.c
parentc64a87f9518409d0a439895f09f6149ffdd427b8 (diff)
scsi: bnx2fc: Fix NULL dereference in error handling
If "interface" is NULL then we can't release it and trying to will only lead to an Oops. Fixes: aea71a024914 ("[SCSI] bnx2fc: Introduce interface structure for each vlan interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions