Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3258516pxb; Tue, 12 Jan 2021 10:03:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRWbJcYiPPKwuI7ElGKK6TW9VukY8bwm5bFYQjRA4yWNTdMPh3q3FSgO/MSQdK4mZJUixq X-Received: by 2002:a50:f9cc:: with SMTP id a12mr246038edq.335.1610474624822; Tue, 12 Jan 2021 10:03:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610474624; cv=none; d=google.com; s=arc-20160816; b=P+9NohkRElF3s/UyoF3eNUQTaDlZbkG8SA9GadRbTzBj9TPUOea6QpbL0RxHr30myR A/SMRT7FLDA5DASYmeK9WrA8sRmgy2LfDIf6VwFE4Y9S9gjcKA4T+Su2MubUk7rqwiXb /ssY39mxi6L2beJkpep+XcMBRqs4BnUm7nxnhnUDkMLuzxvy9SOy1vX2ONlCzwZ8NGdJ ePtHEd1QEfFsju01oUOtrxmHlt/JQs8mj8MrFSuIWin7vYq6vDg10/z8+q9YPc5XE6LC Qn8jWxVFIbey8IW5bLAvf9Q/7+ogUnjhuHDMPE+Yn+VaJE26M1xDmEi8vfxEfAkzxDET M0TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=jpcGDBjFfjSjuM+/XkijfE8T6O5Kz4Wp24MC/icGemw=; b=jQs9m9TZtY07HkztOVe7S9JPa+AO8jFXfPXPpNREEFNPoTbq5CAmt8aRiBzE2ydQcI gWZADh90EGMpWfNyIAA3v0//E5q1Vhd0K6TI2gHrzGzX8mBoQ3O6pdeEkWHIrj8qUa3V erp+72BAj4TH6YEdImxcTzmlvgnOTFOIrRHRslDNhhnRWGst6OdrdYbKUvZLdAzOBK0w LxuwGKpb9RAf6quvId0/w+A5KuaIlV68I/gsH0FKNxic32CazQVrY2JV4NEPWYNefMs0 Qc0TONjovj+huM7m9Ws21XLFtXu6vDP9eP734V6u0xHodsU95UOgOlgVjQk5PB3PfmoH S00w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=NsnwAY4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb28si1347505ejc.510.2021.01.12.10.03.13; Tue, 12 Jan 2021 10:03:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=NsnwAY4P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405089AbhALSB3 (ORCPT + 99 others); Tue, 12 Jan 2021 13:01:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404623AbhALSB2 (ORCPT ); Tue, 12 Jan 2021 13:01:28 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0456C061794 for ; Tue, 12 Jan 2021 10:00:48 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id b8so1321129plh.12 for ; Tue, 12 Jan 2021 10:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=jpcGDBjFfjSjuM+/XkijfE8T6O5Kz4Wp24MC/icGemw=; b=NsnwAY4Ph8u0u7IHQWVAG5i5SwXl/wv/CE6YzQjhJMKDtsaswqh4nmj/Itq6R/8mub fdeyTu1uO6aCfCSBRh2Z7zQttgOIECixTeMfbK9z6anS6Gb3ux61gkmcnLbInWBy7f7q RZE5dVtMWHkIhiNUGd3uOH/8C9hpbvMb1JT9M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=jpcGDBjFfjSjuM+/XkijfE8T6O5Kz4Wp24MC/icGemw=; b=TKMCFOu1vF9ELpHjj86wxlnciOzwuVM1zVhdhqcF+FAu9Ao7UmufSfNSy6li+jf+MQ Idb16dQIYaWMM4qp+07gSDGrR80ZWY/HU/hnHGDouBcXY1cymX5pyvlMIMPWh+eeRWE2 PtOBGdCYzDwhoBSoLb+ILh0QP56kZ2KbZdz0TW9/8mv7Z0wSoUjupfwlWtaI156wmwZu bhxzjXZ4g7Nr/BbqgjEqwOvzqkB6G5hAyX3lnw4IlkE8isl6gxrBm1pXhuioQ2lwEbSS k1OsbiCwLj6FggSjvp1L3XTvZUBuYhHK2wh0P8C6/jYoLTTEXWCPQ5u0RvtjIIDgk84w ajTw== X-Gm-Message-State: AOAM5301jUTblV3xAJYY5/Q0hvyy58U2KPe8lbB9qXS5aT3a+43JsOWD 61AykWaixYnyG3+uglAINssMmVZlnKiPRMX276gKfCS9jhwvDNVJemb8xJ8+A6k53VdJ577T7Bo ZkhDaWcIacBtDu57Qejsi/NyziwcX+ZHgfdH9dElU2YGoRv9CTl6jZ4fCSYhXG/uVKRcRCBVBJo 09LfSzBQ== X-Received: by 2002:a17:90a:8817:: with SMTP id s23mr290340pjn.67.1610474447405; Tue, 12 Jan 2021 10:00:47 -0800 (PST) Received: from [10.69.69.102] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id q70sm4194802pja.39.2021.01.12.10.00.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Jan 2021 10:00:46 -0800 (PST) Subject: Re: [PATCH] scsi: lpfc: style: Simplify bool comparison To: YANG LI , jejb@linux.ibm.com Cc: martin.petersen@oracle.com, dick.kennedy@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <1610439893-64872-1-git-send-email-abaci-bugfix@linux.alibaba.com> From: James Smart Message-ID: <2ffd39d8-c77c-c1c0-eed6-38a97dbe2c60@broadcom.com> Date: Tue, 12 Jan 2021 10:00:45 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <1610439893-64872-1-git-send-email-abaci-bugfix@linux.alibaba.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000658a8d05b8b7cdaf" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000658a8d05b8b7cdaf Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US On 1/12/2021 12:24 AM, YANG LI wrote: > Fix the following coccicheck warning: > ./drivers/scsi/lpfc/lpfc_bsg.c:5392:5-29: WARNING: Comparison to bool > > Reported-by: Abaci Robot > Signed-off-by: YANG LI > --- > drivers/scsi/lpfc/lpfc_bsg.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > Reviewed-by:  James Smart -- james --000000000000658a8d05b8b7cdaf Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQPwYJKoZIhvcNAQcCoIIQMDCCECwCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg2UM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