Explorar o código

Merge branch 'fix/asoc' into for-linus

Takashi Iwai %!s(int64=17) %!d(string=hai) anos
pai
achega
5bd9c69649
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/soc/omap/omap-pcm.c

+ 1 - 1
sound/soc/omap/omap-pcm.c

@@ -233,7 +233,7 @@ static int omap_pcm_open(struct snd_pcm_substream *substream)
 	if (ret < 0)
 		goto out;
 
-	prtd = kzalloc(sizeof(prtd), GFP_KERNEL);
+	prtd = kzalloc(sizeof(*prtd), GFP_KERNEL);
 	if (prtd == NULL) {
 		ret = -ENOMEM;
 		goto out;