Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751701AbdFHPFx (ORCPT ); Thu, 8 Jun 2017 11:05:53 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:36453 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbdFHPFv (ORCPT ); Thu, 8 Jun 2017 11:05:51 -0400 MIME-Version: 1.0 In-Reply-To: <1496916451-6606-1-git-send-email-binoy.jayan@linaro.org> References: <1496916451-6606-1-git-send-email-binoy.jayan@linaro.org> From: Arnd Bergmann Date: Thu, 8 Jun 2017 17:05:50 +0200 X-Google-Sender-Auth: itI8feGy0LQ-xVqPfXTfxik2OAE Message-ID: Subject: Re: [PATCH 0/2] esas2r: Replace semaphores with mutexes To: Binoy Jayan Cc: Linux Kernel Mailing List , Rajendra , Mark Brown , Bradley Grove , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org 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: 553 Lines: 13 On Thu, Jun 8, 2017 at 12:07 PM, Binoy Jayan wrote: > These are a set of patches which removes semaphores from esas2r. > These are part of a bigger effort to eliminate unwanted semaphores > from the linux kernel. > > Binoy Jayan (2): > scsi: esas2r: Replace semaphore fm_api_semaphore with mutex > scsi: esas2r: Replace semaphore fs_api_semaphore with mutex Both conversions looks good. I think the interruption is not handled correctly here, but your patch doesn't change that. Reviewed-by: Arnd Bergmann