Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Dan Carpenter <error27@gmail.com>
Cc: rpearsonhpe@gmail.com, linux-rdma@vger.kernel.org
Subject: Re: [bug report] RDMA/rxe: Add error messages
Date: Wed, 29 Mar 2023 21:19:42 +0300	[thread overview]
Message-ID: <20230329181942.GW831478@unreal> (raw)
In-Reply-To: <ea43486f-43dd-4054-b1d5-3a0d202be621@kili.mountain>

On Wed, Mar 29, 2023 at 09:30:33AM +0300, Dan Carpenter wrote:
> Hello Bob Pearson,
> 
> The patch 5bf944f24129: "RDMA/rxe: Add error messages" from Mar 3,
> 2023, leads to the following Smatch static checker warning:
> 
> 	drivers/infiniband/sw/rxe/rxe_verbs.c:1294 rxe_alloc_mr()
> 	error: potential null dereference 'mr'.  (kzalloc returns null)

I posted the fix:
https://lore.kernel.org/all/d3cedf723b84e73e8062a67b7489d33802bafba2.1680113597.git.leon@kernel.org

Thanks

  reply	other threads:[~2023-03-29 18:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29  6:30 [bug report] RDMA/rxe: Add error messages Dan Carpenter
2023-03-29 18:19 ` Leon Romanovsky [this message]
2023-03-29 19:38 ` Bob Pearson

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=20230329181942.GW831478@unreal \
    --to=leon@kernel.org \
    --cc=error27@gmail.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=rpearsonhpe@gmail.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