Re: [PATCH] linux/string.h: Introduce streq macro.

From: Mike Frysinger
Date: Wed Apr 27 2011 - 04:42:03 EST


On Tue, Apr 26, 2011 at 14:49, Thiago Farina wrote:
> This macro is arguably more readable than its variants:
> - !strcmp(a, b)
> - strcmp(a, b) == 0

Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
(i dont mind converting any of the Blackfin code to use this)
-mike
--
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/