diff mbox

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

Message ID 1418903926-11859-1-git-send-email-patila@marvell.com (mailing list archive)
State Changes Requested
Delegated to: Kalle Valo
Headers show

Commit Message

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

v2: remove -DDEBUG as suggested by Joe Perches

Signed-off-by: Avinash Patil <patila@marvell.com>
---
 drivers/net/wireless/mwifiex/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Kalle Valo Dec. 24, 2014, 5:09 p.m. UTC | #1
Avinash Patil <patila@marvell.com> writes:

> Enable the endian checks by default.
>
> v2: remove -DDEBUG as suggested by Joe Perches

Please don't add the change log to the commit log. Instead add it after
'---' line so that git am can automatically skip it. Alternatively send
a cover letter and include the change log there.

Can fix that, please?

> Signed-off-by: Avinash Patil <patila@marvell.com>
> ---

<Add the changelog here>

>  drivers/net/wireless/mwifiex/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>
> 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
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