Mahlzeit
I am currently testing the cyberJack driver under 2.6.0-test9 and
get following message:
Debug: sleeping function called from invalid context at include/asm/uaccess.h:498
in_atomic():0, irqs_disabled():1
c011b3c1: __might_sleep+0x91/0xb0
c783c67f: cyberjack_write+0x3df/0x4d0
c784b501:
I suspect, that this might_sleep is the one called in copy_from_user().
Is the problem, that this is called inside a spin_lock_irqsave-section?
Do I have to use a local buffer in cyberjack_write, then call the
copy_from_user and the start the spin_lock_irqsave-section to copy it
into the