diff mbox

[v3,1/4] mwifiex: enable -D__CHECK_ENDIAN__ for sparse by default

Message ID 1419591754-4086-1-git-send-email-patila@marvell.com (mailing list archive)
State Accepted
Delegated to: Kalle Valo
Headers show

Commit Message

Avinash Patil Dec. 26, 2014, 11:02 a.m. UTC
Enable the endian checks by default.

Signed-off-by: Avinash Patil <patila@marvell.com>
---
v2: remove -DDEBUG as suggested by Joe Perches

 drivers/net/wireless/mwifiex/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo Jan. 6, 2015, 7:10 p.m. UTC | #1
Avinash Patil <patila@marvell.com> writes:

> Enable the endian checks by default.
>
> Signed-off-by: Avinash Patil <patila@marvell.com>

Thanks, all four patches applied to wireless-drivers-next.git.
diff mbox

Patch

diff --git a/drivers/net/wireless/mwifiex/Makefile b/drivers/net/wireless/mwifiex/Makefile
index 9487d72..fdfd9bf 100644
--- a/drivers/net/wireless/mwifiex/Makefile
+++ b/drivers/net/wireless/mwifiex/Makefile
@@ -53,3 +53,5 @@  obj-$(CONFIG_MWIFIEX_PCIE) += mwifiex_pcie.o
 
 mwifiex_usb-y += usb.o
 obj-$(CONFIG_MWIFIEX_USB) += mwifiex_usb.o
+
+ccflags-y += -D__CHECK_ENDIAN