Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3869813ybe; Sun, 8 Sep 2019 23:55:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqygCUwg6O5IHnNpuKhcTD64lCPx57KdlQcOrGFRls8Fu+Eowhc6FrbYemnqHfgoDJVIKHcK X-Received: by 2002:aa7:d59a:: with SMTP id r26mr22808491edq.137.1568012131498; Sun, 08 Sep 2019 23:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568012131; cv=none; d=google.com; s=arc-20160816; b=R8Td2UKex9A/JgOzpbTptgfKnNmTwkBmuaiL2TK5pdvQCWOzSZBCI6hvxZ+5YbQa4z 9LWNJYM83QAmFvCkRhT7T2x/OwxoaDf0p2oKvMSewDc0BeM1YOw2uxY2CJMK0+gvlO01 V2j971YBJhA3iUx1KhgFFVhpqfhRR0+sG4zW/U9EGgCR31rYnawgkMTrgO3yrUlhB+yJ CP5orQfqGvJPjuj7oF4VXl6/mIdJ1r7y4tCZyS277WSB+mGS0Oq6IIbHegKl+V/dP2De cQFvPckqGKMHigwkPfvCdKsbJ5kOBvU7RJ+tHU+8L38jAU7GJh1HeTXiVYhjpZer6QwO sUkg== 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=FjfyYykhnGr9m5yu7nJC4bKVeUM/Qe4ndBCysAda6/A=; b=ThDiKLmPzPvPfT9LRv40TTMQHBujEac0w17ea2bmhZe6ZOReaSVnEvACCYpRpoecfO xGQixgWbYu0JfkAkgnh2MJDlrsVi2c0Dtg0siwEJWe3OjaN7NI4cL5HqHaVnyJNgWjXB +zwPVNrWJsGA32llxJJUP2EpoqLUbWi5+BWBVqp0IJqdGwunHgvZdm+xW01YnmRYuLE6 1amgGZWqUgyF1ip82j5zML8Z/8Hvh6o0t28cFBq4OkCU/y84KGl1BnGY7aUwTW398t9i A89WhaO5mA61tXKhmVLlQ2phlRZ9hD2XMyOPiCREvsIf8/3olNLnAjvXXlg7c7zyALjH dqKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=aprS0A+p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id y22si6723275eju.126.2019.09.08.23.55.08; Sun, 08 Sep 2019 23:55:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=aprS0A+p; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2406215AbfIGUo2 (ORCPT + 99 others); Sat, 7 Sep 2019 16:44:28 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:53680 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727251AbfIGUo1 (ORCPT ); Sat, 7 Sep 2019 16:44:27 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x87KhwgS166981; Sat, 7 Sep 2019 20:43:58 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-2019-08-05; bh=FjfyYykhnGr9m5yu7nJC4bKVeUM/Qe4ndBCysAda6/A=; b=aprS0A+pVWPv67znjyxqeJhZIgo2Sm5g8vUbnYyNLwpqj/oHUIkGFX7wT5EdmPHIx/O0 m7zveaQqlFIMd5RGDa+yQP8MN6rfa+1ynI9cVCYBdEQXSeIPNHA6AtyJgLjTV+q0mF62 aQamyk9y9QySun8B3J5F9tACLfAVNB0JCxfGrQBnJGPNsurlH5ocE2KlBbPOq83ke/I0 SViclQWgalOmcnd99108xSw97oiJgSwEx4Q8nvcxVV5B1QxYvZsFAQu4QBVyRBcHxxDG 8eogD7AusnzO4kE6CDDkdevnPFccsSp0EDHBki4pZxWtGZ7Ao1NwoDhaDTqNa4KisLqk Sw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2uvkpug0am-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 20:43:58 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x87KhEp9098532; Sat, 7 Sep 2019 20:43:57 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2uv4d0fj3h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 20:43:57 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x87KhsdK014475; Sat, 7 Sep 2019 20:43:55 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 07 Sep 2019 13:43:54 -0700 To: YueHaibing Cc: , , , , , , , , , , , , , Subject: Re: [PATCH -next] scsi: ufs-hisi: use devm_platform_ioremap_resource() to simplify code From: "Martin K. Petersen" Organization: Oracle Corporation References: <20190904130457.24744-1-yuehaibing@huawei.com> Date: Sat, 07 Sep 2019 16:43:51 -0400 In-Reply-To: <20190904130457.24744-1-yuehaibing@huawei.com> (yuehaibing@huawei.com's message of "Wed, 4 Sep 2019 21:04:57 +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=9373 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909070226 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9373 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909070226 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YueHaibing, > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. Applied to 5.4/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering