Re: [PATCH 2/2] module: fix bne2 "gave up waiting for init of module libcrc32c"

From: Rusty Russell
Date: Wed Jun 02 2010 - 05:07:54 EST


On Wed, 2 Jun 2010 05:42:32 pm Linus Torvalds wrote:
>
> On Wed, 2 Jun 2010, Linus Torvalds wrote:
> >
> > IOW, things like this.. Pure code movement to peel off some stuff.
>
> Here's a second one. It's slightly less trivial - since we now have error
> cases - and equally untested so it may well be totally broken. But it also
> cleans up a bit more, and avoids one of the goto targets, because the
> "move_module()" helper now does both allocations or none.
>
> But now I'm bored and tired, so I think this will be all for tonight. The
> load_module function has gone from ~490 lines to ~370 lines, but that's
> still so many that I don't honestly think this makes any readability
> improvement yet.

Both applied and I'll play a little more later...

Thanks!
Rusty.
--
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/