Re: [PATCH] linux/string.h: Introduce streq macro.
From: H. Peter Anvin
Date: Wed Apr 27 2011 - 16:24:57 EST
On 04/27/2011 01:04 PM, Steven Rostedt wrote:
> It's no different than having printk() instead of printf().
Which IMO was a mistake in Linux. It would be different if the priority
argument had been explicit (although these days it's functionally
required, which sort-of justifies a different name.)
kmalloc(), kstrdup() etc. have different names because they're different
interfaces, which don't duplicate the malloc(), strdup() etc. semantics.
-hpa
--
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/