Use kernel.h macro definition.
Thanks to Julia Lawall for Coccinelle scripting support.
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/net/wireless/ath/ath5k/phy.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/net/wireless/ath/ath5k/phy.c
b
Use kernel.h macro definition.
Thanks to Julia Lawall for Coccinelle scripting support.
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/staging/rtl8723au/core/rtw_wlan_util.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/rtl8723au
On 10 June 2015 at 21:52 Joe Perches j...@perches.com wrote:
On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote:
Use kernel.h macro definition.
Thanks to Julia Lawall for Coccinelle scripting support.
[]
diff --git a/drivers/net/wireless/ath/ath5k/phy.c
b/drivers/net
On 10 June 2015 at 22:29 Julia Lawall julia.law...@lip6.fr wrote:
On Wed, 10 Jun 2015, Fabian Frederick wrote:
On 10 June 2015 at 21:52 Joe Perches j...@perches.com wrote:
On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote:
Use kernel.h macro definition
This small patchset adds const to of_device_id arrays in
drivers/net branch.
Fabian Frederick (16):
net: netcp: constify of_device_id array
Altera TSE: constify of_device_id array
net/fsl: constify of_device_id array
net: ethoc: constify of_device_id array
drivers: net: xgene: constify
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/net/wireless/orinoco/airport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/orinoco/airport.c
b
sizeof(u8) is always 1.
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/net/wireless/b43/ppr.c| 2 +-
drivers/net/wireless/iwlwifi/pcie/trans.c | 2 +-
drivers/net/wireless/rtlwifi/efuse.c | 16
3 files changed, 10 insertions(+), 10 deletions
Fix checkpatch warnings:
WARNING: debugfs_remove(NULL) is safe this check is probably not required
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/mac80211/debugfs_key.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/net/mac80211/debugfs_key.c b/net
On 14 October 2014 at 20:08 Bjørn Mork bj...@mork.no wrote:
Joe Perches j...@perches.com writes:
And does this really need to be alloc'd?
Yes, it does. It is used as a transfer_buffer in usb_fill_bulk_urb() and
must be suitable for DMA. From include/linux/usb.h:
/**
* struct urb -
/llc_shdlc.c:333:6-16: WARNING: Comparison to bool
net/nfc/hci/llc_shdlc.c:431:31-43: WARNING: Comparison to bool
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/nfc/hci/llc_shdlc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/net/nfc/hci/llc_shdlc.c b/net/nfc/hci
Let MM subsystem display out of memory messages.
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/nfc/digital_core.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/net/nfc/digital_core.c b/net/nfc/digital_core.c
index 009bcf3..41ba70c 100644
--- a/net/nfc
See Documentation/CodingStyle Chapter 14
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/nfc/digital_technology.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/nfc/digital_technology.c b/net/nfc/digital_technology.c
index fb58ed2d..5e94b6f 100644
--- a/net
Fixes coccinelle warning:
net/nfc/llcp_core.c:132:5-11: WARNING: Comparison to bool
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/nfc/llcp_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/nfc/llcp_core.c b/net/nfc/llcp_core.c
index 51e7887..978399d 100644
Also fixes kzalloc on struct se_io_ctx
See Documentation/CodingStyle Chapter 14
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/nfc/netlink.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/nfc/netlink.c b/net/nfc/netlink.c
index 43cb1c1..b4ba68e 100644
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/net/wireless/zd1201.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c
index 6f5c793..4630b26 100644
--- a/drivers/net/wireless/zd1201.c
+++ b/drivers/net
s/state/blocked
Signed-off-by: Fabian Frederick f...@skynet.be
---
net/rfkill/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/rfkill/core.c b/net/rfkill/core.c
index b3b16c0..fa7cd79 100644
--- a/net/rfkill/core.c
+++ b/net/rfkill/core.c
@@ -329,7 +329,7
Use container_of instead of casting first structure member.
Acked-by: Arend van Spriel ar...@broadcom.com
Signed-off-by: Fabian Frederick f...@skynet.be
---
Compiled but untested.
V2: 2 separate patches for brcm80211 (suggested by Arend van Spriel)
.../net/wireless/brcm80211/brcmsmac/phy
Use container_of instead of casting first structure member.
Acked-by: Arend van Spriel ar...@broadcom.com
Signed-off-by: Fabian Frederick f...@skynet.be
---
Compiled but untested.
V2: 2 separate patches for brcm80211 (suggested by Arend van Spriel)
drivers/net/wireless/brcm80211/brcmsmac/dma.c
Use container_of instead of casting first structure member.
Compiled but untested.
Signed-off-by: Fabian Frederick f...@skynet.be
---
drivers/net/wireless/brcm80211/brcmsmac/dma.c | 38 +--
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/net
19 matches
Mail list logo