projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069f845
)
can: Enable -D__CHECK_ENDIAN__ for sparse by default
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 27 Nov 2014 21:33:58 +0000
(22:33 +0100)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Sun, 7 Dec 2014 20:22:06 +0000
(21:22 +0100)
This patch enables endian checking by default when running sparse via "make
C=2" for example.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/can/Makefile
b/drivers/net/can/Makefile
index fc9304143f449c8eee3aaddcaf1d701fc90b7bb5..c533c62b0f5ee7456c152e29f07e302924edb8a1 100644
(file)
--- a/
drivers/net/can/Makefile
+++ b/
drivers/net/can/Makefile
@@
-29,4
+29,5
@@
obj-$(CONFIG_CAN_GRCAN) += grcan.o
obj-$(CONFIG_CAN_RCAR) += rcar_can.o
obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
-subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
+subdir-ccflags-y += -D__CHECK_ENDIAN__
+subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) += -DDEBUG