Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp866202ybz; Fri, 24 Apr 2020 10:32:27 -0700 (PDT) X-Google-Smtp-Source: APiQypID+eYpMmIJauac8UDOSe9Ow+IgvA79x/gbj7ve9KSvaHolesLJhSCwEuqS8WMDCjqzYLtX X-Received: by 2002:a05:6402:31b6:: with SMTP id dj22mr8644369edb.258.1587749546876; Fri, 24 Apr 2020 10:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587749546; cv=none; d=google.com; s=arc-20160816; b=gBkStwPLrvfXkHnKq2IfHqjJ2oyJPQcvxyZvh7KJZEPIZUDCkfb4FRS2cNTtNJU00a OcF27p6ogx1aJHRyI4BVOU5QQcSUntRj/HR+UJGKw8qOWScyP13WEJYxr4q53Ko9F1H1 Ro/joa/DbtFH2o80wUxgq0qqKBE5iUOOZpq5JAxvQu49LeAa58kGRLfSqsOb4SWqZXi3 a5ptC20/i8KRS12oqany4Sgh61tBGwHwllO5nr5/HXol+9Azdui2k/8hBT/7FcZw5j7l 4M4rbhqivOBLVHIZwe2gHvnWpHZHmfwwnj3pk7kUDiOPkjk692otNlR6iwF9xmYK1fCR a/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=CZLc1DZWz37/9j/SPagTNrIvn4Qv65Ju64jtxEuMjtI=; b=UBIzeSLWRnNKJNnGO6Qesi41zOEGiQjiGd8LMyYKPjQ/K6zzesxc765rLLfmO6Ja2Z acN1McofWhaiabPZDr7uxTss+k9mXX2RaJHGT7wAPH1cu74U5U7rI3rUfz2S7QP+K9hN 2WNObR5VlHbY1bYSYFw3IB9vIEwkMLQXsD9rMBzienN0ZyKR7m0gR6wDxcCbA3olh9cR EgAwuecd4+a8rnOycB8WYWADRQiXuoMIFEtJbncMrKxLC3R58oi1A+E/l8fwHki2brb+ XX0sLOVE/9SMTl1KwOs7tQVLJi34j9JKK5dzD71Z8wz7fURwfZyJOLUFO9gaEqY1lKjl k65Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=D3BZPpBL; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 34si3734904edc.238.2020.04.24.10.32.03; Fri, 24 Apr 2020 10:32:26 -0700 (PDT) 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=@oracle.com header.s=corp-2020-01-29 header.b=D3BZPpBL; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728879AbgDXRaC (ORCPT + 99 others); Fri, 24 Apr 2020 13:30:02 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:52174 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbgDXRaC (ORCPT ); Fri, 24 Apr 2020 13:30:02 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03OHMYrl130647; Fri, 24 Apr 2020 17:29:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2020-01-29; bh=CZLc1DZWz37/9j/SPagTNrIvn4Qv65Ju64jtxEuMjtI=; b=D3BZPpBLCiTfr1De+htHux2IB+H7ncfpqdOLokAVA1BiiF7E9jp+vOu3J17Umxlpgokj Va+sbDWpk4MATru0zNd5dIQKJdVo59gOcO4tsWGb3MyxUm1tG156XdyYnea/pcBv1aWh GaMJQ/B93D/4NVS7VfFSg3I9qK5sXokQoDc6k58ppovBCY88fvMV8Uy/enBBp26hSSTL CP0FcD75d6WDONEgC+3xkWpvsyBOaqwN/fJ+sV7M0conNz2PRYzV52D9eyHnfZ7lHZRp SXyYEDVziSSE5zaYL2XGexrH8EC7YKVXehVyH5B8bjuPkXFtHGo1lx27iAU0VPNAU/H0 mw== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 30jvq52bmh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Apr 2020 17:29:54 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03OHLm4I162349; Fri, 24 Apr 2020 17:29:54 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 30gb3xrr56-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Apr 2020 17:29:53 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 03OHTpGM016098; Fri, 24 Apr 2020 17:29:52 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 24 Apr 2020 10:29:51 -0700 To: Jason Yan Cc: , , , , , , , Subject: Re: [PATCH] scsi: megaraid: use true,false for bool variables From: "Martin K. Petersen" Organization: Oracle Corporation References: <20200421034111.28353-1-yanaijie@huawei.com> Date: Fri, 24 Apr 2020 13:29:49 -0400 In-Reply-To: <20200421034111.28353-1-yanaijie@huawei.com> (Jason Yan's message of "Tue, 21 Apr 2020 11:41:11 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9601 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 spamscore=0 adultscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004240134 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9601 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 adultscore=0 mlxlogscore=999 phishscore=0 impostorscore=0 clxscore=1015 bulkscore=0 spamscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004240134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jason, > Fix the following coccicheck warning: > > drivers/scsi/megaraid/megaraid_sas_fusion.c:4242:6-16: WARNING: > Assignment of 0/1 to bool variable > drivers/scsi/megaraid/megaraid_sas_fusion.c:4786:1-29: WARNING: > Assignment of 0/1 to bool variable > drivers/scsi/megaraid/megaraid_sas_fusion.c:4791:1-29: WARNING: > Assignment of 0/1 to bool variable > drivers/scsi/megaraid/megaraid_sas_fusion.c:4716:1-29: WARNING: > Assignment of 0/1 to bool variable > drivers/scsi/megaraid/megaraid_sas_fusion.c:4721:1-29: WARNING: > Assignment of 0/1 to bool variable Applied to 5.8/scsi-queue, thanks! -- Martin K. Petersen Oracle Linux Engineering