Thread (2 messages) flat view 2 messages, 2 authors, 2011-11-28

RE: [Socketcan-users] [PATCH net-next v2 1/4] can: cc770: add driver core for the Bosch CC770 and Intel AN82527

From: David Laight <hidden>
Date: 2011-11-28 14:03:40
Also in: linux-can

 
quoted
  enum {
	CC770_OBJ_RX0 = 0,	/* for receiving normal messages */
	CC770_OBJ_RX1,		/* for receiving normal messages */
	CC770_OBJ_RX_RTR0,	/* for receiving remote transmission
requests */
quoted
	CC770_OBJ_RX_RTR1,	/* for receiving remote transmission
requests */
quoted
	CC770_OBJ_TX,		/* for sending messages */
	CC770_OBJ_MAX  <================
...then add a "," here :P
Not if the code might have to go through the C++ compiler.
C++ doesn't allow a trailing , in enums (some compilers
will error this....).

	David

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help