Re: [PATCH 7/7] Input: wacom - Fail on missing features

From: Bastian Blank
Date: Thu Jan 07 2010 - 14:21:42 EST


On Thu, Jan 07, 2010 at 11:08:38AM -0800, Dmitry Torokhov wrote:
> On Thursday 07 January 2010 10:30:09 am Bastian Blank wrote:
> > + if (!features)
> > + return -EIO;
> -EINVAL is probably better.

Yes, that is what I was trying to find.

Bastian

--
There's a way out of any cage.
-- Captain Christopher Pike, "The Menagerie" ("The Cage"),
stardate unknown.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/