linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Varun Prakash <varun@chelsio.com>
Cc: martin.petersen@oracle.com, linux-scsi@vger.kernel.org,
	dt@chelsio.com, ganji.aravind@chelsio.com
Subject: Re: [PATCH] scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy()
Date: Thu, 19 Dec 2019 18:48:51 -0500	[thread overview]
Message-ID: <yq1v9qbanbw.fsf@oracle.com> (raw)
In-Reply-To: <1576676731-3068-1-git-send-email-varun@chelsio.com> (Varun Prakash's message of "Wed, 18 Dec 2019 19:15:31 +0530")


Varun,

> If cxgb4i_ddp_init() fails then cdev->cdev2ppm will be NULL,
> so add a check for NULL pointer before dereferencing it.

Applied to 5.5/scsi-fixes, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2019-12-19 23:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 13:45 [PATCH] scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy() Varun Prakash
2019-12-19 23:48 ` Martin K. Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yq1v9qbanbw.fsf@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=dt@chelsio.com \
    --cc=ganji.aravind@chelsio.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=varun@chelsio.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).