Re: [patch] Fix: 'return -ENOMEM' instead of 'return ENOMEM'

From: Alexey Dobriyan
Date: Thu Nov 12 2009 - 04:47:18 EST


On 11/12/09, Ingo Molnar <mingo@xxxxxxx> wrote:
> drivers/scsi/aic7xxx/aic7xxx_osm.c: return ENOMEM; # works but weird

"weirdness" comes from BSD where E codes are negative,
so they do not have this problem at all.
--
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/