Johannes Erdfelt wrote :
> The key is probably the function that calls irda_usb_change_speed_xbofs.
> Most likely it allocates self on the stack (as an automatic variable)
> which is not a valid memory location to DMA from and to.

        No, self is not on the stack, I can guarantee you that. It's
declared as :
---------------------------
static struct irda_usb_cb irda_instance[NIRUSB];
---------------------------
        And self is just a pointer to one of these static instances.

> I'm sure if you kmalloc self before calling irda_usb_change_speed_xbofs,
> everything will work fine.

        Ok, ok...

> JE

        Jean

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

Reply via email to