From: Jes Sorensen <[email protected]>

Signed-off-by: Jes Sorensen <[email protected]>
Signed-off-by: Benjamin Romer <[email protected]>
---
 drivers/staging/unisys/visorbus/visorchannel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/unisys/visorbus/visorchannel.c 
b/drivers/staging/unisys/visorbus/visorchannel.c
index faafa79..e555476 100644
--- a/drivers/staging/unisys/visorbus/visorchannel.c
+++ b/drivers/staging/unisys/visorbus/visorchannel.c
@@ -236,7 +236,7 @@ visorchannel_clear(struct visorchannel *channel, ulong 
offset, u8 ch,
                written += thisbytes;
                nbytes -= thisbytes;
        }
-       return 0;
+       err = 0;
 
 cleanup:
        vfree(buf);
-- 
2.1.4

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to