RE: [PATCH] staging: unisys: visorbus: Replace semaphore with mutex

From: Sell, Timothy C
Date: Mon Jun 20 2016 - 08:23:25 EST


> -----Original Message-----
> From: Binoy Jayan [mailto:binoy.jayan@xxxxxxxxxx]
> Sent: Monday, June 20, 2016 1:07 AM
> To: Kershner, David A; Greg Kroah-Hartman
> Cc: Arnd Bergmann; *S-Par-Maintainer; devel@xxxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; Binoy Jayan
> Subject: [PATCH] staging: unisys: visorbus: Replace semaphore with mutex
>
> The semaphore 'visordriver_callback_lock' is a simple mutex, so
> it should be written as one. Semaphores are going away in the future.
>
Thanks Binoy, but we already submitted a patch for this issue on June 11,
and are currently awaiting its acceptance into staging. See:
* [PATCH RESEND 12/28] staging: unisys: visorbus: Make visordriver_callback_lock a mutex
(http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-June/090861.html)
* [PATCH RESEND 00/28] staging: unisys: fix visorbus & visorinput issues raised by tglx
(http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-June/090854.html)

Tim Sell