Skip to content
Snippets Groups Projects
Commit 1b6b698f authored by Alexandru Gheorghiu's avatar Alexandru Gheorghiu Committed by Linus Torvalds
Browse files

drivers: char: ipmi: Replaced kmalloc and strcpy with kstrdup


Replaced calls to kmalloc followed by strcpy with a sincle call to
kstrdup.  Patch found using coccinelle.

Signed-off-by: default avatarAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f722406f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment