2003-06-23 11:00:56

by Jan De Luyck

[permalink] [raw]
Subject: MOD_DEC_USE_COUNT is deprecated

Hey List,

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

Jan
--
Penguin laptop (i686) running GNU/Linux 2.5.72 #1 Tue Jun 17 17:43:31 CEST
2003
The joys of love made her human and the agonies of love destroyed her.
-- Spock, "Requiem for Methuselah", stardate 5842.8


2003-06-23 11:11:47

by Russell King

[permalink] [raw]
Subject: Re: MOD_DEC_USE_COUNT is deprecated

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 ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html