git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bcdf0c
)
parport: use kmemdup instead of kmalloc + memcpy
author
Silviu-Mihai Popescu
<silviupopescu1990@gmail.com>
Mon, 11 Mar 2013 16:39:22 +0000
(18:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 17:42:06 +0000
(10:42 -0700)
This replaces calls to kmalloc followed by memcpy with a single call to
kmemdup. This was found via make coccicheck.
Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found