Re: [PATCH] USB: serial: fix stringify operator in usb-serial-simple

From: Yann Droneaud
Date: Sun Aug 18 2013 - 15:52:10 EST


Le 18.08.2013 21:40, Greg Kroah-Hartman a ÃcritÂ:
On Sun, Aug 18, 2013 at 09:29:00PM +0200, Yann Droneaud wrote:

Ugh, sorry about that, I thought there used to be a stringify() macro
that used to do this. Nice patch, I'll queue it up.


That's __stringify() which is defined in <linux/stringify.h> but:
1) inside a string (eg "__stringify(vendor)") it's gonna never work;
2) it's not required here, __stringify(vendor) would be needed
if vendor was itself a macro and the macro content was to be
converted to a string.

Regards.

--
Yann Droneaud
OPTEYA

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/