Re: [PATCH] net: ethernet: micrel: ksz884x: Replace semaphore proc_sem with mutex
From: Arnd Bergmann
Date: Thu Jun 08 2017 - 10:59:58 EST
On Thu, Jun 8, 2017 at 12:03 PM, Binoy Jayan <binoy.jayan@xxxxxxxxxx> wrote:
> The semaphore 'proc_sem' is used as a simple mutex, so
> it should be written as one. Semaphores are going away in the future.
>
> Signed-off-by: Binoy Jayan <binoy.jayan@xxxxxxxxxx>
> ---
>
> This patch is part of a bigger effort to eliminate unwanted
> semaphores from the linux kernel.
Looks good,
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>