Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751782AbdFHO7t (ORCPT ); Thu, 8 Jun 2017 10:59:49 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:36513 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751603AbdFHO7s (ORCPT ); Thu, 8 Jun 2017 10:59:48 -0400 MIME-Version: 1.0 In-Reply-To: <1496916227-4509-1-git-send-email-binoy.jayan@linaro.org> References: <1496916227-4509-1-git-send-email-binoy.jayan@linaro.org> From: Arnd Bergmann Date: Thu, 8 Jun 2017 16:59:47 +0200 X-Google-Sender-Auth: aC8mCMZHS19aFOTPsdsS3J7uUkM Message-ID: Subject: Re: [PATCH] net: ethernet: micrel: ksz884x: Replace semaphore proc_sem with mutex To: Binoy Jayan Cc: Linux Kernel Mailing List , Rajendra , Mark Brown , "David S. Miller" , Jarod Wilson , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 425 Lines: 13 On Thu, Jun 8, 2017 at 12:03 PM, Binoy Jayan 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 > --- > > This patch is part of a bigger effort to eliminate unwanted > semaphores from the linux kernel. Looks good, Reviewed-by: Arnd Bergmann