diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-03-05 22:42:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 20:26:27 +0100 |
commit | 77079dbec721a282bf0931385ae10d77cdbac5af (patch) | |
tree | 7e3a0e3fe650a99b3c245ae6a951c74bf07ec211 /arch/um/os-Linux/tls.c | |
parent | frv: remove pci_dma_sync_single() and pci_dma_sync_sg() (diff) | |
download | linux-77079dbec721a282bf0931385ae10d77cdbac5af.tar.xz linux-77079dbec721a282bf0931385ae10d77cdbac5af.zip |
alpha: PTR_ERR overwrites -EINVAL in syscall osf_mount
The initial -EINVAL value is overwritten by `retval = PTR_ERR(name)'. If
this isn't an error pointer and typenr is not 1, 6 or 9, then this retval,
a pointer cast to a long, is returned.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux/tls.c')
0 files changed, 0 insertions, 0 deletions