Message ID | 1418903926-11859-1-git-send-email-patila@marvell.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
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 --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
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(+)