-
- Downloads
can: unify identifiers to ensure unique include processing
Armin pointed me to the fact that the identifier which is used to ensure the unique include processing in lunux/include/uapi/linux/can.h is CAN_H. This clashed with his own source as includes from libraries and APIs should use an underscore '_' at the identifier start. This patch fixes the protection identifiers in all CAN relavant includes. Reported-by:Armin Burchardt <armin@uni-bremen.de> Signed-off-by:
Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de>
Showing
- include/linux/can/core.h 3 additions, 3 deletionsinclude/linux/can/core.h
- include/linux/can/dev.h 3 additions, 3 deletionsinclude/linux/can/dev.h
- include/linux/can/led.h 3 additions, 3 deletionsinclude/linux/can/led.h
- include/linux/can/platform/cc770.h 3 additions, 3 deletionsinclude/linux/can/platform/cc770.h
- include/linux/can/platform/mcp251x.h 3 additions, 3 deletionsinclude/linux/can/platform/mcp251x.h
- include/linux/can/platform/sja1000.h 3 additions, 3 deletionsinclude/linux/can/platform/sja1000.h
- include/linux/can/platform/ti_hecc.h 3 additions, 3 deletionsinclude/linux/can/platform/ti_hecc.h
- include/linux/can/skb.h 3 additions, 3 deletionsinclude/linux/can/skb.h
- include/uapi/linux/can.h 3 additions, 3 deletionsinclude/uapi/linux/can.h
- include/uapi/linux/can/bcm.h 3 additions, 3 deletionsinclude/uapi/linux/can/bcm.h
- include/uapi/linux/can/error.h 3 additions, 3 deletionsinclude/uapi/linux/can/error.h
- include/uapi/linux/can/gw.h 3 additions, 3 deletionsinclude/uapi/linux/can/gw.h
- include/uapi/linux/can/netlink.h 3 additions, 3 deletionsinclude/uapi/linux/can/netlink.h
- include/uapi/linux/can/raw.h 3 additions, 3 deletionsinclude/uapi/linux/can/raw.h
Loading
Please register or sign in to comment