staging: unisys: visorbus: return EAGAIN when empty
commit5d295bc3e7a6478b690b56994fac87728b88157e
authorDavid Kershner <david.kershner@unisys.com>
Mon, 21 Nov 2016 17:15:52 +0000 (21 12:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Nov 2016 09:01:57 +0000 (23 10:01 +0100)
treecf822557421512fc8a10355c064757737560e427
parent29b2780974767df4006d9b8cc7d412d23d99e9a7
staging: unisys: visorbus: return EAGAIN when empty

It really isn't an error when you call visorchannel_signalremove and
there isn't anything in the queue. Just means that the IOSP didn't
process anything since the last time you checked. Just inform the
caller that it is empty by returning -EAGAIN.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchannel.c