Skip to contentSkip to conversation

MOD_DEC_USE_COUNT is deprecated

DISCUSSION Jan De Luyck 2 participants 2 messages Jun 23, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
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
#1 lore raw
Quoted 5 lines · Jan De Luyck

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.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html