That would be great; thanks.
> > /*
> > * This is it. Find all the controllers and register them. I really hate
> > * stealing all these major device numbers.
> > - * returns the number of block devices registered.
> > + * returns 0 on success, -EIO on failure
>
> I'd suggest to go ahead and make it return sensible values, i.e. -EBUSY if
> it can't get the major, -ENODEV if there's no hardware, -ENOMEM if the
> allocations fail.
Ok, I'll go ahead and do that. I was tempted to do it in the first pass but
wanted to make sure it would be the Right Thing first.
> > int __init cpqarray_init(void)
>
> This should be static now.
Surely you're right...
> Also, you need to remove the explicit call to
> cpqarray_init() from drivers/block/genhd.c, otherwise it'll get called
> twice. (That part's already in my patch).
This was against 2.5.15-dj1 which already removes the call from genhd.c.
If this goes to Linus at some point I'll add that bit.
Thanks for your suggestions; they are much appreciated.
--Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/