forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
-Wuninitialized-const-pointer[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[PATCH] AcceptedA submitted patch has been accepted upstreamA submitted patch has been accepted upstream
Description
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:1894:21: warning: variable 'hdr' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
1894 | skb_put_data(skb, &hdr, sizeof(hdr));
| ^~~
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c:3386:21: warning: variable 'hdr' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
3386 | skb_put_data(skb, &hdr, sizeof(hdr));
| ^~~
Visible after llvm/llvm-project@00dacf8.
Seems legitimate at quick glance.
Metadata
Metadata
Assignees
Labels
-Wuninitialized-const-pointer[BUG] linuxA bug that should be fixed in the mainline kernel.A bug that should be fixed in the mainline kernel.[PATCH] AcceptedA submitted patch has been accepted upstreamA submitted patch has been accepted upstream