Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Paolo Perego <pperego@suse.de>,
	linux-wireless@vger.kernel.org,  linux-kernel@vger.kernel.org
Cc: Miri Korenblit <miriam.rachel.korenblit@intel.com>,
	Kalle Valo <kvalo@kernel.org>,
	Shaul Triebitz <shaul.triebitz@intel.com>,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>,
	Yedidya Benshimol <yedidya.ben.shimol@intel.com>,
	 Benjamin Berg <benjamin.berg@intel.com>
Subject: Re: [PATCH] drivers:wireless: Fix a dereference before null check issue
Date: Thu, 21 Nov 2024 18:28:14 +0100	[thread overview]
Message-ID: <e37392a6a1fcb11db42646da2afe055416ca4cea.camel@sipsolutions.net> (raw)
In-Reply-To: <20241121170257.275607-1-pperego@suse.de>

On Thu, 2024-11-21 at 18:02 +0100, Paolo Perego wrote:
> This patch fixes a dereference before null check issue discovered by 
> Coverity (CID 1601547)
> 

This was reported before by smatch too, and Emmanuel just made a patch
to simply remove the NULL checks, because the pointers are statically
known to be not NULL. So it's not really an issue other than
style/checkers/... anyway :)

johannes

  reply	other threads:[~2024-11-21 17:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 17:02 [PATCH] drivers:wireless: Fix a dereference before null check issue Paolo Perego
2024-11-21 17:28 ` Johannes Berg [this message]
2024-11-21 17:35   ` Paolo Perego
2024-11-21 17:40     ` Johannes Berg
2024-11-22  7:50     ` wireless: " Markus Elfring
2024-11-22  7:25   ` Markus Elfring

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=e37392a6a1fcb11db42646da2afe055416ca4cea.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=benjamin.berg@intel.com \
    --cc=emmanuel.grumbach@intel.com \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=miriam.rachel.korenblit@intel.com \
    --cc=pperego@suse.de \
    --cc=shaul.triebitz@intel.com \
    --cc=yedidya.ben.shimol@intel.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