Re: [PATCH] mac80211_hwsim: missing NULL check

2015-12-02 Thread Johannes Berg
On Mon, 2015-11-30 at 12:46 +0530, Rahul Jain wrote: > From: Amit Khatri > > 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, rewo

[PATCH] mac80211_hwsim: missing NULL check

2015-11-29 Thread Rahul Jain
From: Amit Khatri txrate variable might be NULL and passing inside function without NULL check. Signed-off-by: Amit Khatri Signed-off-by: Rahul Jain --- drivers/net/wireless/mac80211_hwsim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/driver