projects
/
platform
/
kernel
/
linux-exynos.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
|
history
diff --git
a/drivers/net/can/Makefile
b/drivers/net/can/Makefile
index
fc93041
..
c533c62
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