linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: varun@chelsio.com
Cc: linux-scsi@vger.kernel.org
Subject: Re: [bug report] scsi: cxgb4i: Add support for iSCSI segmentation offload
Date: Fri, 10 Jul 2020 17:29:03 +0300	[thread overview]
Message-ID: <20200710142903.GJ2571@kadam> (raw)
In-Reply-To: <20200710141729.GA135776@mwanda>

On Fri, Jul 10, 2020 at 05:17:29PM +0300, dan.carpenter@oracle.com wrote:
> Hello Varun Prakash,
> 
> This is a semi-automatic email about new static checker warnings.
> 
> The patch e33c2482289b: "scsi: cxgb4i: Add support for iSCSI 
> segmentation offload" from Jun 29, 2020, leads to the following 
> Smatch complaint:
> 
>     drivers/scsi/cxgbi/libcxgbi.c:2158 cxgbi_conn_init_pdu()
>     warn: variable dereferenced before check 'tdata' (see line 2150)
> 

Same issue in cxgbi_conn_xmit_pdu() as well.

drivers/scsi/cxgbi/libcxgbi.c:2374 cxgbi_conn_xmit_pdu() warn: variable dereferenced before check 'tdata' (see line 2368)

regards,
dan carpenter


  reply	other threads:[~2020-07-10 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 14:17 [bug report] scsi: cxgb4i: Add support for iSCSI segmentation offload dan.carpenter
2020-07-10 14:29 ` Dan Carpenter [this message]
2020-07-13 16:41   ` Varun Prakash
  -- strict thread matches above, loose matches on Subject: below --
2020-07-20 10:28 dan.carpenter
2020-07-10 14:14 dan.carpenter
2020-07-13 16:25 ` Varun Prakash

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=20200710142903.GJ2571@kadam \
    --to=dan.carpenter@oracle.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).