Results 1 to 1 of 1
Hi all
I am a newbei to Linux and drivers. I am getting the following error for my driver...........
the scenario is ...... from hardware i am going to get ...
- 08-08-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 1
Asynchronous communication in drivers: Fasync
Hi all
I am a newbei to Linux and drivers. I am getting the following error for my driver...........
the scenario is ...... from hardware i am going to get an interrupt and on getting the interrupt i have to call the API in user space .for this thing i am using fasync_helper and kill_fasync APIs ... now the problem that i am facing is on doing INSMOD the driver registers the interrupt and the call is given to interrupt handler from where i am calling kill_fasync.on doing this i am getting the following error.
kill_fasync : bad magic number in fasync_struct!!
can anyone plzzzzz help me in this case ........ its a bit urgent .



Reply With Quote
