Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH] module: module_unload_init() cleanup | Date | Wed, 2 Jun 2010 15:55:54 +0930 |
| |
On Wed, 2 Jun 2010 03:46:33 pm Rusty Russell wrote: > On Wed, 2 Jun 2010 03:02:20 pm Eric Dumazet wrote: > > No need to clear mod->refptr in module_unload_init(), since > > alloc_percpu() already clears allocated chunks. > > > > Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> > > Thanks, applied! > > I know it's trivial, but you should have cc'd Nick since this was his patch.
Hmm, and checked for warnings:
kernel/module.c: In function ‘module_unload_init’: kernel/module.c:529: warning: unused variable ‘cpu’
Fixed, Rusty. -- 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/
| |