Re: [PATCH] ALSA: hda: fix kstrdup return value

2015-07-17 Thread Takashi Iwai
On Fri, 17 Jul 2015 03:42:06 +0200, Heloise NH wrote: > > From: kernelpatch_update > > In kstrdup we should return -ENOMEM when it reports an > memory allocation failure, while the -ENODEV is referred > to a failure in finding the cpu node in the device tree. > > Signed-off-by: Heloise NH Th

[PATCH] ALSA: hda: fix kstrdup return value

2015-07-16 Thread Heloise NH
From: kernelpatch_update In kstrdup we should return -ENOMEM when it reports an memory allocation failure, while the -ENODEV is referred to a failure in finding the cpu node in the device tree. Signed-off-by: Heloise NH --- sound/pci/hda/hda_codec.c | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH] ALSA: hda: fix kstrdup return value

2015-07-16 Thread Takashi Iwai
On Thu, 16 Jul 2015 12:27:07 +0200, Takashi Iwai wrote: > > On Thu, 16 Jul 2015 03:04:10 +0200, > kernelpatch_update wrote: > > > > In kstrdup we should return -ENOMEM when it reports an > > memory allocation failure, while the -ENODEV is referred > > to a failure in finding the cpu node in the

Re: [PATCH] ALSA: hda: fix kstrdup return value

2015-07-16 Thread Takashi Iwai
On Thu, 16 Jul 2015 03:04:10 +0200, kernelpatch_update wrote: > > In kstrdup we should return -ENOMEM when it reports an > memory allocation failure, while the -ENODEV is referred > to a failure in finding the cpu node in the device tree. > > Signed-off-by: kernelpatch_update Thanks, applied n

[PATCH] ALSA: hda: fix kstrdup return value

2015-07-15 Thread kernelpatch_update
In kstrdup we should return -ENOMEM when it reports an memory allocation failure, while the -ENODEV is referred to a failure in finding the cpu node in the device tree. Signed-off-by: kernelpatch_update --- sound/pci/hda/hda_codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --