Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3427438ybz; Mon, 27 Apr 2020 15:53:03 -0700 (PDT) X-Google-Smtp-Source: APiQypIdakSOUnJXa18Kd+zJmDGa4KOVL0wZp/8BS3BCX+2rm6Pfm1Dr9aIVzRKnqQa7eriOX1bR X-Received: by 2002:a17:906:4553:: with SMTP id s19mr21438751ejq.295.1588027983372; Mon, 27 Apr 2020 15:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588027983; cv=none; d=google.com; s=arc-20160816; b=oQ3Al5Lmt4UQxSUOxP13zw3FDfv46pvUzGz868St+YsGWlQkWwWyGN1TZgz/1+H5yx WxnzXdb5qUG3D1128ZvSCsZCxVers+6bq4X7YQYfdh8g+VWwtlvYdp+sP2eLbSg0ilYH frnOw7mJRPEi0h4sMYdfcUs0JIIPP76mB5vCJDA8sKh4GqTrmATCLIgD2iTw8LQmfkSe Slg7zTtZYR0Gn+oFaXjcvGsHmN958ZysLklMnVavyxKeFfENUybAqqWiOZHj19D8SUcy h0WhCZeigN/K2K4Vn1jP34JlxzTbbFG3SfsvEEl8F8DyrlK/9bvsTG98Oyp3O1zWu25b Q/vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qDMayMbg+FKCS2mjLaz0JLNCqW1XcYuqT5QmYVU1E+w=; b=lEpL6G/zZl7ZESRovt9eyfyAdrjZLwHJF508zLIiSZ+2O3eI/rcY2XdsxtL5MbvM7g n0uZvARwvsXQKy0xf4kFyCAODgiSjM+I5MrHeQKPPm6qA3iYVBSGz7Nybal9Ds1UF0Hp stBHc05lEQOYTs14SPY6P0Lp6AnRVCokCbfYPlZv6xQHXb763A/YqaSYnIuMArdOCe80 JR7RqTOmzgoutbU0ZX7CVV4r5vu3IJmYh3u1H8v0S1r6SM5ltUYM1yhdzZs3ufo0/2I5 xM8sSxjP4HCBMIWGyBj4HBSw17AoNyKnlwLnAd64MaQ4SJK2R0XugKft3v7nzJ+D/Rx7 0HjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=Ks7DmA5b; 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 b24si556098edr.338.2020.04.27.15.52.40; Mon, 27 Apr 2020 15:53:03 -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=Ks7DmA5b; 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 S1726366AbgD0WuO (ORCPT + 99 others); Mon, 27 Apr 2020 18:50:14 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:33026 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726233AbgD0WuO (ORCPT ); Mon, 27 Apr 2020 18:50:14 -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 03RMmnir073103; Mon, 27 Apr 2020 22:49:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=qDMayMbg+FKCS2mjLaz0JLNCqW1XcYuqT5QmYVU1E+w=; b=Ks7DmA5br7wukiVPXNNHYVopqnlxwvbnbP2Ty7in6w6Ovw0YDkt70e0hhbynRF/Z3wzN tJiQKVzsbreVwtMGrupkziINLHPmCMmkVGu6eX+KRId7bBgoDO0/JF43/OHqzAYjkKBd 81xAMC2QP3YnMbQD0oF3+R0F7nzWNIhd61TStm6zRtgf7NCCiu2Zb0nIQDnYZqjZMReA DB0T+PGAfp19QSsy9jZulfEDY83wZlL3UqP6/QKhx6Rq67JrOSer5/ss8baw1pv9DfVN XQuy9p+Uc6Oo7zxtjTvII1qWmOVqL3j6pqEK8FTEIwcmwkCtKQixYkOOpvknv6EFrnF1 8g== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 30nucfvfy9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Apr 2020 22:49:56 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03RMbxWg114119; Mon, 27 Apr 2020 22:49:56 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 30mxwx5c54-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Apr 2020 22:49:56 +0000 Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 03RMnsnn027962; Mon, 27 Apr 2020 22:49:55 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 27 Apr 2020 15:49:54 -0700 From: "Martin K. Petersen" To: alim.akhtar@samsung.com, Jason Yan , jejb@linux.ibm.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, avri.altman@wdc.com, stanley.chu@mediatek.com Cc: "Martin K . Petersen" Subject: Re: [PATCH] scsi: ufs: use true for bool variables in ufshcd_complete_dev_init() Date: Mon, 27 Apr 2020 18:49:50 -0400 Message-Id: <158802757520.27023.7635538053293481561.b4-ty@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200426094305.24083-1-yanaijie@huawei.com> References: <20200426094305.24083-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9604 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004270185 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9604 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 priorityscore=1501 mlxlogscore=999 impostorscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004270185 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 26 Apr 2020 17:43:05 +0800, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/scsi/ufs/ufshcd.c:4140:6-14: WARNING: Assignment of 0/1 to bool > variable Applied to 5.8/scsi-queue, thanks! [1/1] scsi: ufs: Use true for bool variables in ufshcd_complete_dev_init() https://git.kernel.org/mkp/scsi/c/7dfdcc393dcd -- Martin K. Petersen Oracle Linux Engineering