Re: [PATCH 1/6] Coccinelle: Semantic patch for replacing puts with putc

From: SF Markus Elfring
Date: Fri Sep 12 2014 - 07:08:21 EST


> Using seq_puts to write a one-character string is suboptimal,
> since puts has to call strlen().

Are there any more functions which work with such strings in a similar way?
Would it make sense to look also at other function names?

Regards,
Markus
--
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/