Re: Passing uninitialised local variable

2018-04-09 Thread Petr Machata
Arend van Spriel writes: > On 3/28/2018 1:20 PM, Himanshu Jha wrote: >> I recently found that a local variable in passed uninitialised to the >> function at >> >> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2950 >> >> u32 var; >>

Re: Passing uninitialised local variable

2018-03-29 Thread Arend van Spriel
On 3/28/2018 1:20 PM, Himanshu Jha wrote: Hello everyone, You added everyone, but me :-( Not really a problem, but it would help if the driver name was mentioned in the subject. I recently found that a local variable in passed uninitialised to the function at

Passing uninitialised local variable

2018-03-28 Thread Himanshu Jha
Hello everyone, I recently found that a local variable in passed uninitialised to the function at drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:2950 u32 var; err = brcmf_fil_iovar_int_get(ifp, "dtim_assoc", ); if (err) {