Re: MOD_DEC_USE_COUNT is deprecated

Russell King (rmk@arm.linux.org.uk)
Mon, 23 Jun 2003 12:25:48 +0100


On Mon, Jun 23, 2003 at 01:16:21PM +0200, Jan De Luyck wrote:
> Little question: With many modules I'm still seeying the MOD_DEC_USE_COUNT is
> deprecated message. I've checked the changes that have been done earlier, and
> they usually just consist of removing these lines. If so, I'm more than
> willing to "search and destroy" those and send 'em over to the patch monkey,
> but if what I'm saying is totally idiotic just slap me ;p

It's not that simple - you need to ensure that there are mechanisms
in place to ensure that module unloading is safe before removing these.

The remaining MOD_{INC,DEC}_USE_COUNT act as markers for code that needs
to be fixed up.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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