staging: unisys: iovmcall_gnuc.h change -1 return values
authorErik Arfvidson <erik.arfvidson@unisys.com>
Sat, 14 May 2016 03:17:21 +0000 (23:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 05:58:16 +0000 (22:58 -0700)
commit35b214155601cdbb97bc2d97524b5f0df176348d
treef2d3f255cd5910224184814d185803ed7e7d5f70
parent119296eaa8a5dd8c3dbd5051202a06ae9a1d04fc
staging: unisys: iovmcall_gnuc.h change -1 return values

This patch changes the vague -1 return values to -EPERM.
This operation is not supported is a good alternative
to -1 because the return is basically telling the caller
that the processor doesn't support vmcall operations.

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/iovmcall_gnuc.h