Re: brcmfmac: only lock and unlock fws if fws is not null

2015-12-11 Thread Kalle Valo
> From: Colin Ian King > > There is a null ptr check for fws to set bcmc_credit_check, however, > there a lock and unlock on fws should only performed if fwts is > also not null to also avoid a potential null pointer deference. > > Signed-off-by: Colin Ian King

[PATCH] brcmfmac: only lock and unlock fws if fws is not null

2015-12-02 Thread Colin King
From: Colin Ian King There is a null ptr check for fws to set bcmc_credit_check, however, there a lock and unlock on fws should only performed if fwts is also not null to also avoid a potential null pointer deference. Signed-off-by: Colin Ian King

Re: [PATCH] brcmfmac: only lock and unlock fws if fws is not null

2015-12-02 Thread Arend van Spriel
On 12/02/2015 12:45 PM, Colin King wrote: From: Colin Ian King There is a null ptr check for fws to set bcmc_credit_check, however, there a lock and unlock on fws should only performed if fwts is also not null to also avoid a potential null pointer deference.