x86, wmi fix modalias_show return values
authorPrarit Bhargava <prarit@redhat.com>
Thu, 3 Oct 2013 23:23:36 +0000 (19:23 -0400)
committerMatthew Garrett <matthew.garrett@nebula.com>
Thu, 21 Nov 2013 01:16:22 +0000 (20:16 -0500)
commita80e1053aaa395d94fff5ab7c73c89bb0c28c3c5
tree7e71fecd4b28edf04ba16f19d60009199bd54881
parented12f295bfd5c378970106891f12999589aec4e5
x86, wmi fix modalias_show return values

I just fixed this same bug in arch/powerpc/kernel/vio.c and took a quick
look for other similar errors in the kernel.

modalias_show() should return an empty string on error, not errno.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/wmi.c
This page took 0.024168 seconds and 5 git commands to generate.