diff for duplicates of <57722395.8080706@bfs.de> diff --git a/a/1.txt b/N1/1.txt index a0f8ad6..075f769 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,7 +22,7 @@ Am 27.06.2016 21:06, schrieb Christophe JAILLET: > > - commpage_bak = kmalloc(sizeof(struct echoaudio), GFP_KERNEL); > + commpage_bak = kmalloc(sizeof(*commpage), GFP_KERNEL); -> if (commpage_bak == NULL) +> if (commpage_bak = NULL) > return -ENOMEM; > commpage = chip->comm_page; > - memcpy(commpage_bak, commpage, sizeof(struct comm_page)); diff --git a/a/content_digest b/N1/content_digest index 85a354c..3da3e1a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01467054411-19752-1-git-send-email-christophe.jaillet@wanadoo.fr\0" "From\0walter harms <wharms@bfs.de>\0" "Subject\0Re: [PATCH] ALSA: echoaudio: Fix memory allocation\0" - "Date\0Tue, 28 Jun 2016 09:13:25 +0200\0" + "Date\0Tue, 28 Jun 2016 07:13:25 +0000\0" "To\0Christophe JAILLET <christophe.jaillet@wanadoo.fr>\0" "Cc\0perex@perex.cz" tiwai@suse.com @@ -34,7 +34,7 @@ "> \n" "> -\tcommpage_bak = kmalloc(sizeof(struct echoaudio), GFP_KERNEL);\n" "> +\tcommpage_bak = kmalloc(sizeof(*commpage), GFP_KERNEL);\n" - "> \tif (commpage_bak == NULL)\n" + "> \tif (commpage_bak = NULL)\n" "> \t\treturn -ENOMEM;\n" "> \tcommpage = chip->comm_page;\n" "> -\tmemcpy(commpage_bak, commpage, sizeof(struct comm_page));\n" @@ -48,4 +48,4 @@ "re,\n" wh -bfe21d70c8eccca2ba0534ad6505ff265703ab90743b5d1f6294bb030d269d6f +51431e63bf7cbf7c807534635dff6fa07a45edbf763eeb2d40a46374a278fa18
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.