Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3869678ybe; Sun, 8 Sep 2019 23:55:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqymgihslEC7egEyLwhS0GxSACJ+5GzIS7fYz3V1qJ72fpVjvcofwPDucbl1sSbYJEEKsCob X-Received: by 2002:a17:906:3550:: with SMTP id s16mr8937091eja.195.1568012120145; Sun, 08 Sep 2019 23:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568012120; cv=none; d=google.com; s=arc-20160816; b=mDl4x5/0oVl9uc/HBUaNszZHAltnUoMkPLU/1BJWmLG45wVdML4IDK5/9JPZft1zcr Cbyao6M81eUsYM3cEifZYAjVG8mtH+Yjn0Rzd6WMNvUKfgnhaccjX2u+lEH4TZIUeMw4 1tPmyHhSOKplbDCQf30maRqhzF97dk+4k4dekGg1vJC5xafByDrBT+Oo9xCNCFqB+I7Y rAaTjhuy49DZGxAl9J4NCdTwFngErzH+zV0m8+HrIic6Jx4RKNNE9pJ+OJjCAmbyyHyo mqPK+pItFxZSYZfbuZiPpjSegyMeaO6Cg0oi3nBjtZpnNfVG0VcVkv4c8cufU7CM/w5+ VBpw== 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=ggegj5N8B0pHd8aDmKhj8IfYMCEKH95FOdHHDs50p0DdpS5f6zcZfCmRJKqq8hXwty iPp+n+iNsIznfmwMwunOaZ6hOQo3zo0hTaoWpZRa9HSiVHJuUCwGxqIBY6Udmg4sQ8KD sMvBjYzY+v92lEtUjk0HRC9/eEkIaqjcd4S1AAx5WoRuy4eGUNYaOfR2meEtedGqbapD MW9BUp7W/J+slvB2233xb6W4K4On1cgbG1bFMsME8+5R3C2omM3xHgaG/VDTWjUwz0aC zVEVDONZFp1dydobwqpu/+291qU16G8TS/fbm7aP5yr5P8lrx/c1Llwhh9TL3DHGDDZC 5BHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=qW1P186O; 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 g13si6677896ejp.264.2019.09.08.23.54.56; Sun, 08 Sep 2019 23:55:20 -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=qW1P186O; 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 S2406171AbfIGUng (ORCPT + 99 others); Sat, 7 Sep 2019 16:43:36 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:52988 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727251AbfIGUng (ORCPT ); Sat, 7 Sep 2019 16:43:36 -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 x87Kd4LG163901; Sat, 7 Sep 2019 20:43:16 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=qW1P186OFebuIRdBF5/ogxBP5v7Eru18zkuk4wSEyZ/JKt/8HwMkJRBS1AqGQ9W6F1rr dY4waendBEYnySVabroRaQBCYTj5NlGU1kOCww+EMaC162kTwCO5SFkONw44lov+prj8 FrNcu6VjEEyDlNovJY3G17CnTSR2etRFhPXHdjRM/AhrQA362SQ0cHTxbYVx0aTA+M5o YnmVoJCxV3NwW5vky+G1ZsuUYHPm7O6QISwdJZipfWOA+UcwouONFcYPjutCh5b7A1YX kj332yHGVGl+w5z4w+ulfNznjz0tgZvsY+Pog1R4ZPDv2C52gQ/1a1uyhxp15XlOTXxy 8A== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 2uvkpug09t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 20:43:16 +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 x87KhEnG098419; Sat, 7 Sep 2019 20:43:15 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 2uv4d0fhnt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 07 Sep 2019 20:43:15 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x87Kgkx1013952; Sat, 7 Sep 2019 20:42:47 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:42:45 -0700 To: YueHaibing Cc: , , , , , , , , , Subject: Re: [PATCH -next] scsi: ufshcd: use devm_platform_ioremap_resource() to simplify code From: "Martin K. Petersen" Organization: Oracle Corporation References: <20190904130348.24772-1-yuehaibing@huawei.com> Date: Sat, 07 Sep 2019 16:42:38 -0400 In-Reply-To: <20190904130348.24772-1-yuehaibing@huawei.com> (yuehaibing@huawei.com's message of "Wed, 4 Sep 2019 21:03:48 +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=925 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=1015 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-1909070225 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