Hello,

I'd like to send a signal out from a kernel module to a user application.
But the declaration of fasync_helper is misunderstanding. So I get kernel
panic the way I tried before.

I use Kernel 2.4.18. Rubini's example says:

int scull_p_fasync (struct inode *inode, ...)
{
...
  return fasync_helper(inode, filp, mode, &dev->async_queue);
}

But the first argument of fasync_helper in 2.4.18 is of type int, not that
huge inode struct. So what to fill in arg 1?

Can you pease tell me any example where fasync is easily shown in the
existing kernel, so everything matches fine and I can learn from that?

Thank You!
Siegfried.


-------------
HBM - Hottinger Baldwin Messtechnik GmbH
Siegfried Wessler, Dipl.-Ing.
Entwicklung Messverstärker T-V
Im Tiefen See 45, D-64293 Darmstadt
Fon: 06151/803-884, Fax: -524
eMail: [EMAIL PROTECTED]
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to