diff options
author | Prarit Bhargava <prarit@redhat.com> | 2013-09-23 09:33:36 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-03 17:25:16 +1000 |
commit | e82b89a6f19bae73fb064d1b3dd91fcefbb478f4 (patch) | |
tree | df7d3fcff80cdb3dce5fe01ca3619828d8e0d1bb /lib/find_last_bit.c | |
parent | 1cf389df090194a0976dc867b7fffe99d9d490cb (diff) | |
download | linux-e82b89a6f19bae73fb064d1b3dd91fcefbb478f4.tar.gz linux-e82b89a6f19bae73fb064d1b3dd91fcefbb478f4.tar.bz2 linux-e82b89a6f19bae73fb064d1b3dd91fcefbb478f4.zip |
powerpc/vio: Fix modalias_show return values
modalias_show() should return an empty string on error, not -ENODEV.
This causes the following false and annoying error:
> find /sys/devices -name modalias -print0 | xargs -0 cat >/dev/null
cat: /sys/devices/vio/4000/modalias: No such device
cat: /sys/devices/vio/4001/modalias: No such device
cat: /sys/devices/vio/4002/modalias: No such device
cat: /sys/devices/vio/4004/modalias: No such device
cat: /sys/devices/vio/modalias: No such device
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org>
Diffstat (limited to 'lib/find_last_bit.c')
0 files changed, 0 insertions, 0 deletions