[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1449049918.2449.6.camel@sipsolutions.net>
Date: Wed, 02 Dec 2015 10:51:58 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Rahul Jain <rahul.jain@...sung.com>, kvalo@...eaurora.org
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Amit Khatri <amit.khatri@...sung.com>
Subject: Re: [PATCH] mac80211_hwsim: missing NULL check
On Mon, 2015-11-30 at 12:46 +0530, Rahul Jain wrote:
> From: Amit Khatri <amit.khatri@...sung.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists