[alsa-devel] [PATCH] ASoC: core: No need to use strncmp()

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Wed Jul 31 11:48:14 CEST 2013

On Wed, Jul 31, 2013 at 10:07:26AM +0100, Mark Brown wrote:
> On Wed, Jul 31, 2013 at 09:44:13AM +0100, Dimitris Papastamos wrote:
> > Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
> Why?

Hm, strncmp() suggests that we might not care about the entire string.
Although trivial, I thought strcmp() is clearer in this context.

More information about the Alsa-devel mailing list