Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp216896pxb; Tue, 28 Sep 2021 19:59:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoVv0Y/+lwmqihYjxQk04NW2Batkx9nckEBAfhWJevX4L99OSaNlQMuxfy9BP8pPFfV3cc X-Received: by 2002:a17:906:3402:: with SMTP id c2mr10811552ejb.271.1632884340139; Tue, 28 Sep 2021 19:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632884340; cv=none; d=google.com; s=arc-20160816; b=mH+O4egxMWR9VDRsLMHOi42exoUx/C6s5GkSkbPkwlT+GmgfBXgZME+RS5aDL34KVl HacXyqhAJBn3nDuWIJNy2iEfoxm7oiFoPDwlam4as8/I0GGzM1ubLnUa1Px5BQu9FIjv SXJA7nYAKq3betP8+C/6f7MIW2LTgtfYzUhmkHsv4/fJ+A/zqVvumkb73hW7PZhRQhLm TXa9mhhG3oczr3lcFqQ6v1qPdzBeQJF6IKECwPOSNOzRqkD7F4alhpEgf+WOkXSCU+3C axsMgw7WNuKFmQgK3VvZ8FkTePYUYwU+oHIDwWpJXgo9FEXMgIgvGS8H3y2fKqluvk2M bVKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=UMvhFFOC6WOUOjFQv/YNkoCe40fuVRXN8IEVggfRxdM=; b=H2VQxGONvZ02RiyGSMC688GsZMODwU0wktqEr9v+SUsSd6EmlLUtkq8a5sr22c0pS+ waDKM3CezyDBTtjfXqBukbIOv/7sqVCS1z+oz4lLcCngyTi6yD+pjXO1Pjpjiqem48FH 5MbiLL/2jjHcR6FajjP9QKTnWBNLyZXXz89PG9eBhNrmECdcVrjffQLNOfQJ0LNwz022 QWlpQyTA5m/XB9ysKZSiaFsT2Qb42ppct81d97dq0R0fKUkMiVkHG79iaTCb4k4+XLju L8CR+eXB3zLTztjscweU1VdAJaadTDZPsJLHro7M5OF2G6D3tk6lYebOtQWcDTv4k51J FXmg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y20si1011842edi.311.2021.09.28.19.58.36; Tue, 28 Sep 2021 19:59:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243781AbhI2Cz2 (ORCPT + 99 others); Tue, 28 Sep 2021 22:55:28 -0400 Received: from mx22.baidu.com ([220.181.50.185]:49642 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229771AbhI2Cz2 (ORCPT ); Tue, 28 Sep 2021 22:55:28 -0400 Received: from BC-Mail-Ex27.internal.baidu.com (unknown [172.31.51.21]) by Forcepoint Email with ESMTPS id 9DF2C9BF6664175EF01D; Wed, 29 Sep 2021 10:53:43 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex27.internal.baidu.com (172.31.51.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 29 Sep 2021 10:53:43 +0800 Received: from BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) by BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) with mapi id 15.01.2308.014; Wed, 29 Sep 2021 10:53:43 +0800 From: "Cai,Huoqing" To: "Cai,Huoqing" CC: John Garry , "James E.J. Bottomley" , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] scsi: hisi_sas: Make use of the helper function devm_platform_ioremap_resource() Thread-Topic: [PATCH] scsi: hisi_sas: Make use of the helper function devm_platform_ioremap_resource() Thread-Index: AQHXnw6o1mQ0bS2gs0il5KsnH1dEZ6u6e2VA Date: Wed, 29 Sep 2021 02:53:43 +0000 Message-ID: <88820f7dabff4561be5bfe0362f70c14@baidu.com> References: <20210901085207.31254-1-caihuoqing@baidu.com> In-Reply-To: <20210901085207.31254-1-caihuoqing@baidu.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.127.83.206] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8sDQoNCkRyb3AgdGhpcyBwYXRjaC4NCkJlY2F1c2Ugc2dwaW9fcmVncyBpcyBvcHRpb25h bCB3aGljaCBpcyB1c2VkIGxpa2UgdGhpcw0KCWlmICghaGlzaV9oYmEtPnNncGlvX3JlZ3MpDQoJ CXJldHVybiAtRU9QTk9UU1VQUDsNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBG cm9tOiBDYWksSHVvcWluZyA8Y2FpaHVvcWluZ0BiYWlkdS5jb20+DQo+IFNlbnQ6IDIwMjHE6jnU wjHI1SAxNjo1Mg0KPiBUbzogQ2FpLEh1b3FpbmcNCj4gQ2M6IEpvaG4gR2Fycnk7IEphbWVzIEUu Si4gQm90dG9tbGV5OyBNYXJ0aW4gSy4gUGV0ZXJzZW47IGxpbnV4LQ0KPiBzY3NpQHZnZXIua2Vy bmVsLm9yZzsgbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KPiBTdWJqZWN0OiBbUEFUQ0hd IHNjc2k6IG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