Skip to contentSkip to conversation

wifi: brcmfmac: minor cleanup fixes

PATCH In review Arend van Spriel 2 participants 4 messages Jan 28, 2024 – Jan 31, 2024 Broadcom BRCM80211 IEEE802.11 wireless drivers

lore
Share & tools
lore

Arend van Spriel

author maintainer
#0 lore raw

cover wifi: brcmfmac: minor cleanup fixes

Two non-functional fixes that came up. Straightforward stuff.

These apply to the main branch of the wireless-next repository.

Arend van Spriel (2):
wifi: brcmfmac: add linefeed at end of file
wifi: brcmfmac: fix copyright year mentioned in platform_data header

 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
 include/linux/platform_data/brcmfmac.h                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

base-commit: 28b3df1fe6ba2cb439ba109f095aa841fef3a54f

Signature · 1 line
2.32.0
author maintainer
#1 lore raw

PATCH 1/2 wifi: brcmfmac: add linefeed at end of file

The following sparse warning was reported:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c:432:49:
warning: no newline at end of file

Fixes 31343230abb1 ("wifi: brcmfmac: export firmware interface functions")
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c +1 -1
index bc1c6b5a6e31..6385a7db7f7d 100644
@@ -429,4 +429,4 @@ s32 brcmf_fil_xtlv_data_get(struct brcmf_if *ifp, const char *name, u16 id,
 	mutex_unlock(&drvr->proto_block);
 	return err;
 }
-BRCMF_EXPORT_SYMBOL_GPL(brcmf_fil_xtlv_data_get);
\ No newline at end of file
+BRCMF_EXPORT_SYMBOL_GPL(brcmf_fil_xtlv_data_get);
Signature · 1 line
2.32.0
#2 lore raw

Re: [PATCH 1/2] wifi: brcmfmac: add linefeed at end of file

Quoted 9 lines · Arend van Spriel

The following sparse warning was reported:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil.c:432:49:
warning: no newline at end of file

Fixes 31343230abb1 ("wifi: brcmfmac: export firmware interface functions")

2 patches applied to wireless-next.git, thanks.

26f0dc8a705a wifi: brcmfmac: add linefeed at end of file 2a71528427c6 wifi: brcmfmac: fix copyright year mentioned in platform_data header

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
author maintainer
#3 lore raw

PATCH 2/2 wifi: brcmfmac: fix copyright year mentioned in platform_data header

In reply to Arend van Spriel

The driver found its inception a little after the year 201. According git blame output it was added in 2016 so lets go with that.

Fixes 4d7928959832 ("brcmfmac: switch to new platform data")
---
 include/linux/platform_data/brcmfmac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/platform_data/brcmfmac.h +1 -1
index f922a192fe58..ec99b7b73d1d 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 201 Broadcom Corporation
+ * Copyright (c) 2016 Broadcom Corporation
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
Signature · 1 line
2.32.0