Re: [PATCH v5 3/6] rust: irq: add support for non-threaded IRQs and handlers

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

 



On 7/3/25 7:12 PM, Daniel Almeida wrote:
+/// Callbacks for an IRQ handler.
+pub trait Handler: Sync {

I wonder if we should require ’static here too?

Same for the Threaded trait.

You already have

	impl<T: Handler + 'static> Registration<T>

which I think this is good enough.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux