Thread (1 message) 1 message, 1 author, 2015-12-02

Re: [PATCH] mac80211_hwsim: missing NULL check

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-12-02 09:52:06
Also in: linux-wireless, lkml

On Mon, 2015-11-30 at 12:46 +0530, Rahul Jain wrote:
From: Amit Khatri <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help