Home Home > GIT Browse > openSUSE-15.1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2019-01-11 14:15:19 +0100
committerMatthias Brugger <mbrugger@suse.com>2019-01-11 14:15:30 +0100
commitca823db747b1552ebb80dc9a08d4e7306cfe409c (patch)
treed5f4acac1b486f23781bdfec11bc88d5bdb4b233
parent78577157f44d835188bcd5855b896f6f2c5a97b2 (diff)
brcmfmac: fix false-positive -Wmaybe-unintialized warning
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
index 72d8c0c3c3a1..679feb762d39 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c
@@ -512,7 +512,7 @@ fail:
return NULL;
}
#else
-static u8 *brcmf_fw_nvram_from_efi(size_t *data_len) { return NULL; }
+static inline u8 *brcmf_fw_nvram_from_efi(size_t *data_len) { return NULL; }
#endif
static void brcmf_fw_free_request(struct brcmf_fw_request *req)