Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281569 > unrolled thread

Re: [PATCH] mac80211_hwsim: missing NULL check

Started byJohannes Berg <johannes@sipsolutions.net>
First post2015-12-02 11:00 +0100
Last post2015-12-02 11:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] mac80211_hwsim: missing NULL check Johannes Berg <johannes@sipsolutions.net> - 2015-12-02 11:00 +0100

#1281569 — Re: [PATCH] mac80211_hwsim: missing NULL check

FromJohannes Berg <johannes@sipsolutions.net>
Date2015-12-02 11:00 +0100
SubjectRe: [PATCH] mac80211_hwsim: missing NULL check
Message-ID<qBcmB-5tS-7@gated-at.bofh.it>
On Mon, 2015-11-30 at 12:46 +0530, Rahul Jain wrote:
> From: Amit Khatri <amit.khatri@samsung.com>
> 
> txrate variable might be NULL and passing inside function
> without NULL check.

Applied. However, this comes with a big BUT.

I seems to always be rewriting your static checker patches, or asking
for clarification, rewording, etc.

Please: review what I did to this commit, and in the future please
submit patches that actually describe what's going on, what you're
doing, and why you're doing it.

IOW, analyse the code and don't just do the minimum necessary to shut
up the static checker. Doing that is fairly much useless, especially in
really obscure cases like this.

I'm going to drop further patches like this one without warning.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web