diff options
author | Alexandru Gheorghiu <gheorghiuandru@gmail.com> | 2013-05-16 21:04:24 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-16 22:49:25 +0200 |
commit | 1b6b698f53b3a5382a907308048d77c8bacca4ab (patch) | |
tree | 94a14065c80ca121f4f4f07a805ed1a828ef0a3c /drivers/char/ipmi/Kconfig | |
parent | Linux 3.10-rc1 (diff) | |
download | linux-1b6b698f53b3a5382a907308048d77c8bacca4ab.tar.xz linux-1b6b698f53b3a5382a907308048d77c8bacca4ab.zip |
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: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ipmi/Kconfig')
0 files changed, 0 insertions, 0 deletions