staging: sep: Fix sign of error
authorAlan Cox <alan@linux.intel.com>
Wed, 21 Mar 2012 12:32:32 +0000 (12:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:14:39 +0000 (09:14 -0700)
commitfcff311c938c95c90573c060d37648df00e45017
tree8e0e7f5f67e9292761216ba03725f33a269b7ac3
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
staging: sep: Fix sign of error

One of our errors wasn't negative as intended. Fix this.
(Found by Hillf Danton)

While we are at it turn user causable messages down to dev_dbg level in the
ioctl paths.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sep/sep_main.c