Re: [PATCH v3] f_midi_complete to call tasklet_hi_schedule
From: Greg KH
Date: Tue Feb 11 2025 - 01:00:39 EST
On Mon, Feb 10, 2025 at 10:18:13AM -0700, Jillian Donahue wrote:
> Ah yea, this error happens because in this commit:
> https://github.com/torvalds/linux/commit/8653d71ce3763aedcf3d2331f59beda3fecd79e4
> the tasklets are replaced with works. Should I request the patch to be
> in v5.10 or should I update the fix to use
> queue_work(system_highpri_wq, &midi->work) ?
>
> > >> drivers/usb/gadget/function/f_midi.c:286:31: error: no member named 'tasklet' in 'struct f_midi'
> > 286 | tasklet_hi_schedule(&midi->tasklet);
> > | ~~~~ ^
> > 1 error generated.
Always submit your changes based on the latest kernel tree (ideally the
latest development tree). Any older kernel backports can happen after
they end up in a release.
thanks,
greg k-h