Asynchronous communication in drivers: Fasync
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 .:???::???::???: