[PATCH] scsi: ufs: mediatek: avoid sched_clock() misuse
Martin K. Petersen
martin.petersen at oracle.com
Tue Oct 26 21:00:19 PDT 2021
On Mon, 18 Oct 2021 15:20:01 +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> sched_clock() is not meant to be used in portable driver code,
> and assuming a particular clock frequency is not how this is
> meant to be used. It also causes a build failure because of
> a missing header inclusion:
>
> [...]
Applied to 5.16/scsi-queue, thanks!
[1/1] scsi: ufs: mediatek: avoid sched_clock() misuse
https://git.kernel.org/mkp/scsi/c/bb4a8dcb4e94
--
Martin K. Petersen Oracle Linux Engineering
More information about the Linux-mediatek
mailing list