Re: [PATCH net] wireless/nl80211: fix wdev_id may be used uninitialized

2 messages, 2 authors, 2021-03-15 · open the first message on its own page

Re: [PATCH net] wireless/nl80211: fix wdev_id may be used uninitialized

From: Kalle Valo <hidden>
Date: 2021-03-12 21:04:29

Jarod Wilson [off-list ref] writes:
Build currently fails with -Werror=maybe-uninitialized set:

net/wireless/nl80211.c: In function '__cfg80211_wdev_from_attrs':
net/wireless/nl80211.c:124:44: error: 'wdev_id' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
Really, build fails? Is -Werror enabled by default now? I hope not.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Re: [PATCH net] wireless/nl80211: fix wdev_id may be used uninitialized

From: Jarod Wilson <hidden>
Date: 2021-03-15 18:21:45

On Fri, Mar 12, 2021 at 4:04 PM Kalle Valo [off-list ref] wrote:
Jarod Wilson [off-list ref] writes:
quoted
Build currently fails with -Werror=maybe-uninitialized set:

net/wireless/nl80211.c: In function '__cfg80211_wdev_from_attrs':
net/wireless/nl80211.c:124:44: error: 'wdev_id' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
Really, build fails? Is -Werror enabled by default now? I hope not.
Don't think so. But we (Red Hat) build all our kernels with a fair
amount of extra error-checking enabled.

-- 
Jarod Wilson
jarod@redhat.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help