Re: [PATCH] ne.c fix for hibernate and rmmod oops fix

From: Atsushi Nemoto
Date: Sat Aug 30 2008 - 10:53:43 EST


On Fri, 29 Aug 2008 21:27:49 -0500, David Fries <david@xxxxxxxxx> wrote:
> > With your patch, cleanup_module() and ne_exit() is exactly same. How
> > about unifying them?
>
> They didn't use to be the same, with all the cleanup I didn't notice
> that they became the same. ne_exit is no more, cleanup_module for
> both module and built in.

The name "cleanup_module" is special. I think this should not be used
outside #ifdef MODULE. Please rename it something like
ne_cleanup_module() and make it static. Or just use ne_exit().

> > This .name initialization seems a bit redundant for me. They can be
> > left NULL.
>
> Changed.

Thanks. You killed two .name and there are still two .name in ne_probe.

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