]> git.baikalelectronics.ru Git - kernel.git/commit
sound: oss: uart401: Used kmemdup instead of kmalloc and memcpy
authorAlexandru Gheorghiu <gheorghiuandru@gmail.com>
Mon, 25 Mar 2013 13:46:49 +0000 (15:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Apr 2013 09:22:52 +0000 (11:22 +0200)
commit15794995f76c1fdb7b95a2268cbffa03ab233ce2
treeceefe9779d4e7cccdc9d156cc092d3996321f0db
parentb9ebe2e34ab40da2e3d9695b755865de67e6f165
sound: oss: uart401: Used kmemdup instead of kmalloc and memcpy

Used kmemdup instead of replicating it's behaviour with kmalloc followed
by memcpy.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/uart401.c