Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] [PATCH 1/6] Coccinelle: Semantic patch for replacing puts with putc
       [not found] ` <1410513954-28909-2-git-send-email-linux@rasmusvillemoes.dk>
@ 2014-09-12 11:08   ` SF Markus Elfring
  0 siblings, 0 replies; only message in thread
From: SF Markus Elfring @ 2014-09-12 11:08 UTC (permalink / raw)
  To: cocci

> 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-12 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1410513954-28909-1-git-send-email-linux@rasmusvillemoes.dk>
     [not found] ` <1410513954-28909-2-git-send-email-linux@rasmusvillemoes.dk>
2014-09-12 11:08   ` [Cocci] [PATCH 1/6] Coccinelle: Semantic patch for replacing puts with putc SF Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox