[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6D8AEE8@saturn3.aculab.com>
Date: Mon, 28 Nov 2011 14:01:41 -0000
From: "David Laight" <David.Laight@...LAB.COM>
To: "Marc Kleine-Budde" <mkl@...gutronix.de>,
"Wolfgang Grandegger" <wg@...ndegger.com>
Cc: <netdev@...r.kernel.org>, <socketcan-users@...ts.berlios.de>,
<linux-can@...r.kernel.org>
Subject: RE: [Socketcan-users] [PATCH net-next v2 1/4] can: cc770: add driver core for the Bosch CC770 and Intel AN82527
> > 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 */
> > CC770_OBJ_RX_RTR1, /* for receiving remote transmission
requests */
> > 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists