Re: usb-skeleton.c - generates warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, 19. Oktober 2010, 18:12:52 schrieb Alan Stern:
> The problem is that usb-skeleton calls usb_free_coherent() in its
> skel_write_bulk_callback() routine.  That indirectly calls
> dma_pool_free(), which for some strange reason doesn't like to run
> in_interrupt.

I suppose it needs to do IPIs and wait for answers.

> usb-skeleton probably should not use a coherent buffer.  There's no 
> good reason for it.

Among other things it should be an example. If this is easy to get wrong, we
should come up with a correct solution.

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux