Re: [PATCH] s390 (2/7): common i/o layer.

From: Martin Schwidefsky
Date: Mon Oct 06 2003 - 09:51:57 EST



> > Just checked. You right about chp_release which should do
> > a kfree on the struct channel_path object. But the two
> > other release functions are really dummy functions because
> > cu3088_root_dev and iucv_root are static structures.
>
> Even in that case you're screwed in case they are in modules..

Why? The root device are registered in the module init function
and unregistered in the module exit function. I fail to see the
problem.

blue skies,
Martin


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