Re: [2.6 patch] let elv_register() return void

From: Jens Axboe
Date: Wed Dec 12 2007 - 12:54:37 EST


On Wed, Dec 12 2007, Adrian Bunk wrote:
> elv_register() always returns 0, and there isn't anything it does where
> it should return an error (the only error condition is so grave that
> it's handled with a BUG_ON).

Principally it could return -EEXIST for the BUG_ON(), but there's little
point. I've applied your patch, thanks.

--
Jens Axboe

--
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/