Tag: 96bab82f6ba3c4e116ee89989b3854dde6c0cd2d

ALSA: firewire: use kmemdup rather than duplicating its implementation

Author: Andrzej Hajda <a.hajda@samsung.com> The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda Signed-off-by: Takashi Iwai — sound/firewire/oxfw/oxfw-stream.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff –git a/sound/firewire/oxfw/oxfw-stream.c b/sound/firewire/oxfw/oxfw-stream.c index 873d40f..77ad5b9 100644 — a/sound/firewire/oxfw/oxfw-stream.c +++ b/sound/firewire/oxfw/oxfw-stream.c @@ -512,12 +512,11 @@ assume_stream_formats(struct snd_oxfw *oxfw, enum …

Continue reading