Skip to contentSkip to conversation

wl12xx: enable sparse endianess check by default

PATCH Applied Luciano Coelho 1 participant 3 messages Dec 21, 2011 – Jan 12, 2012 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wl12xx: enable sparse endianess check by default

Following the good example of the Intel (and more recently Atheros) drivers, enable endianess check by default when running sparse.

---
 drivers/net/wireless/wl12xx/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/net/wireless/wl12xx/Makefile +2 -0
index fe67262..98f289c 100644
@@ -11,3 +11,5 @@ obj-$(CONFIG_WL12XX_SDIO)		+= wl12xx_sdio.o
 
 # small builtin driver bit
 obj-$(CONFIG_WL12XX_PLATFORM_DATA)	+= wl12xx_platform_data.o
+
+ccflags-y += -D__CHECK_ENDIAN__
Signature · 1 line
1.7.4.1
author Applied
#1 lore raw
Quoted 5 lines · Luciano Coelho

Following the good example of the Intel (and more recently Atheros) drivers, enable endianess check by default when running sparse.

---

Applied.

Signature · 2 lines
Cheers,
Luca.