[PATCH] mtd: error return -EIO instead of EIO

Artem Bityutskiy dedekind1 at gmail.com
Fri Nov 13 03:28:28 EST 2009


On Wed, 2009-11-11 at 21:47 +0100, Roel Kluin wrote:
> Return a negative error value instead of a positive
> 
> Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
> ---
>  drivers/mtd/maps/physmap.c    |    2 +-
>  drivers/mtd/maps/vmu-flash.c  |    2 +-
>  drivers/mtd/nand/atmel_nand.c |    4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)

Taken to my l2-mtd-2.6.git tree, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list