Skip to content

drivers/base/cpu: s*nprintf() usage fixes / cleanups

Takashi Iwai lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers/base/cpu: Use scnprintf() for avoiding potential buffer overflowdrivers/base/cpu.c+3 -30 replies
2/2drivers/base/cpu: Simplify s*nprintf() usagesdrivers/base/cpu.c+4 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] drivers/base/cpu: s*nprintf() usage fixes / cleanups

Hi,

this is a respin of my previous patch [*].
Now the scnprintf() conversion is done only in the needed places, and the second patch cleans up the superfluous s*nprintf() usages.

Takashi

[*] https://lore.kernel.org/r/[email protected]

===
Takashi Iwai (2):
drivers/base/cpu: Use scnprintf() for avoiding potential buffer
overflow
drivers/base/cpu: Simplify s*nprintf() usages

 drivers/base/cpu.c | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)
Signature · 1 line
2.16.4