I was wonder the samething abou the THIS_MODULE.   Noticed a problem
with a driver because
I could not remove it from memory.     My eyes began to spin when I was
trying to track the opens/closes in
the code.

That was OK, simple reboot fixed it.    8*)






Wolfgang Mües <[EMAIL PROTECTED]>@lists.sourceforge.net on 01/14/2002 02:20:45
PM

Sent by:  [EMAIL PROTECTED]


To:   [EMAIL PROTECTED]
cc:

Subject:  Re: [linux-usb-devel] module usage count in auerswald


Hello Oliver,

On Sunday, 13. January 2002 19:28, Oliver Neukum wrote:

> the module usage count of that driver was broken. The included patch
> removes it from open/release, as the chardev code does that already and
> removed from probe/disconnect and an owner entry added to the usb_driver
> structure.

Thank you.

I have done it the old fashioned way because I haven't found any good
explanation of the THIS_MODULE macro in the docs (and also not
in "Writing Linux Device Drivers").

best regards
Wolfgang

--
"We're back to the times when men were men
 and wrote their own device drivers."
-Linus Torvalds-

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel



______________________________________________________________________
The information in this e-mail is intended solely for the addressee(s)
named, and is confidential. Any other distribution, disclosure or copying
is strictly prohibited. If you have received this communication in error,
please reply by e-mail to the sender and delete or destroy all copies of
this message.

Les renseignements contenus dans le présent message électronique sont
confidentiels et concernent exclusivement le(s) destinataire(s) désigné(s).
Il est strictement interdit de distribuer ou de copier ce message.  Si vous
avez reçu ce message par erreur, veuillez répondre par courriel à
l'expéditeur et effacer ou détruire toutes les copies du présent message.


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to