Re: [PATCH RFC] sh: maple: Add support for SEGA Dreamcast VMU and clean up maple bus driver (3/3)

Mike Frysinger
2009-01-29T05:46:05Z

On Wednesday 28 January 2009 19:18:07 Adrian McMenamin wrote:
> --- a/drivers/input/keyboard/maple_keyb.c
> +++ b/drivers/input/keyboard/maple_keyb.c
> - if (!kbd || !idev) {
> - error = -ENOMEM;
> + if (!kbd) {
> + error = ENOMEM;
> goto fail;
> }
> ...
> - return error;
> +fail:
> + return -error;

this driver has the weird/broken error inverting other patches of yours have
had recently ... that stuff really needs to stop showing up ;)
-mike