Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1491805ybe; Mon, 2 Sep 2019 22:33:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyy4jCUWIboYAolBv4lRehmhKh6Dw0XHfujU1D+hzNPKeR4cAfcXJPJmf04saA7d8vEtGpm X-Received: by 2002:a17:902:6bc7:: with SMTP id m7mr33945974plt.60.1567488805676; Mon, 02 Sep 2019 22:33:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567488805; cv=pass; d=google.com; s=arc-20160816; b=ZMFOeM4KqVSwV5H68vJEuv+FP1r0pngxIMkCQEm4TtNbe8X6qB0K+5Q8kSUPlQZNxd iYy+jVCeXpR8ccXYVBEud0eMEBOh+Z9q65qxX1f98im5Ty0vfYRtYqw3/zknawkzgx+8 m6SZAGKme97TigAAc+MxpWxPnD4davrCAC9h8YlcoBLYKQB0sHTvVd1Nrrd3VSTNtlx+ AMX9WBmA1viaPybuFJ1B7/y8moQoRJekneU9qtxOba3fV+SpgOkjxLqiJOCU7rJ9HpST /fB8pMP3yELLVmVTF8ZAxuFsPfpyfDKA84wvRlyna4xqxdTn8a5jbrbLlOoSVAXKA0KA K4tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=+nr+mr+DHJUpaGjupUaqtLVWjGNgFr7lzEANrummtkQ=; b=K4mj+cn8lDpmyaxlFaxmoTHh6qTcqv5jpOK29QG2uDlyth8REVxIcjn0eKzJT6J/Jt fWMYl2kL3BFonINSwbTBrVVpCTtk6j4SRgqhcIa8ntZ1y2yFcPxRSL2EverYCHy+ULjR zWWMQ8wQW6Itc+tRc6RrzeWsuIt5bfEBdnFL1CrwJW2c16nEnPvvWpRdXn3AV/JodebK 3UldicNy3qDIW+actm+HigVbCX3RhPR5lBXbKWry16+lqamCSSBacv60kXxYnMkcEPgY xSh7JPC26Fb6cOB5C3upVFvf0HEhWtEKSKpoCGEMHOgEANaAtNBoDaUkYAY3BQJKHOBP aq5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=BKS+lS0k; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 78si13269267pga.419.2019.09.02.22.33.09; Mon, 02 Sep 2019 22:33:25 -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=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=BKS+lS0k; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbfICFcJ (ORCPT + 99 others); Tue, 3 Sep 2019 01:32:09 -0400 Received: from mail-eopbgr730051.outbound.protection.outlook.com ([40.107.73.51]:59520 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725854AbfICFcJ (ORCPT ); Tue, 3 Sep 2019 01:32:09 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FFdwirp9YTFciIgf52X71/nZGL9776GdNuNsdev0RZKlxv2ZbHeQDT3ym0Er1PIiVB/OFgG9GfQVYOPv5nxScjqGtziOftJ2ZOOLyqubP4CZV/f8jnq5cJ0rfnl9IPLzQjimKV62w0WA9JRR5lEjUyQt5SYRmORwGpKYt1RbGCi0I6KULVDzoeRs1YBQMB2nlEZ2UrFFBTHk0VNFi9UO2EM7ipHz0kEJPv2zB2kq3DwRISAy3gTbBNJYy6FvQEAjPWHK9bOGiR25afTh4YxWrLFrI4V5MO0ql4mRqvPp4EnQW9VU6fwfdbIOXPoNY1OmwOCyMPOB3wgkYl9AcwS5uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+nr+mr+DHJUpaGjupUaqtLVWjGNgFr7lzEANrummtkQ=; b=R5Qyy8z4WPXwzgsA9iGWvx8jFnE2rQIGKB8ZOd3TTgI3gfEg3m/RqSfypWU3ZrP6ynd7crDpznoaAvjpG/9cCQml9ElmGxVX9UxpIjL5fQoey2gjKsfSMoQBmfgm/upK6vgKer61exgf9zGfXfTXsiW/ygDK/ihbXNfGJXtdU/pzejX6yfmGaHFtjZUlg08buEe72NshcnmT/TA4kJML47CWz3AFa9WaYJ5MvH1kMGGEDIKRTqdVY0RpL27PPvIOvfYmiGLNZ1Kfip7wT+WSPA7OzGuh0BBt2sSnIcV+L9LhMs670IKCJ3WbrWpvk3bmgFO1/C859kVDA/TZeg1NuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+nr+mr+DHJUpaGjupUaqtLVWjGNgFr7lzEANrummtkQ=; b=BKS+lS0kc8aVx1TBJFIwA6DlHKyqbVmd8AlQHWtvdmbCoKi+HssBT/T9nxk5OK+sVi1IWVv7Y2KAJSziA6rdaOtsXLco1oVpcMggLxvVqKmxmLRsYRscuH6vClTsMeneWmGj0tK+0pXt2CQ3wdiE73eGdXzdAc6smcqi222jGfo= Received: from BYAPR03MB4773.namprd03.prod.outlook.com (20.179.92.152) by BYAPR03MB3750.namprd03.prod.outlook.com (20.176.254.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.18; Tue, 3 Sep 2019 05:32:04 +0000 Received: from BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::391b:4d0f:a377:41c]) by BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::391b:4d0f:a377:41c%4]) with mapi id 15.20.2220.022; Tue, 3 Sep 2019 05:32:04 +0000 From: Jisheng Zhang To: Julia Lawall CC: Guenter Roeck , Jean Delvare , "linux-hwmon@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "kbuild-all@01.org" Subject: Re: [PATCH] hwmon: fix devm_platform_ioremap_resource.cocci warnings Thread-Topic: [PATCH] hwmon: fix devm_platform_ioremap_resource.cocci warnings Thread-Index: AQHVYhLBpqXZSFWPR0mupR1mSjLCnKcZanSA Date: Tue, 3 Sep 2019 05:32:04 +0000 Message-ID: <20190903132008.38a992a6@xhacker.debian> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [124.74.246.114] x-clientproxiedby: TY2PR01CA0008.jpnprd01.prod.outlook.com (2603:1096:404:a::20) To BYAPR03MB4773.namprd03.prod.outlook.com (2603:10b6:a03:134::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 67cbaca4-baee-4dc1-40ed-08d730300d86 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR03MB3750; x-ms-traffictypediagnostic: BYAPR03MB3750: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:608; x-forefront-prvs: 01494FA7F7 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(39860400002)(346002)(376002)(136003)(199004)(189003)(305945005)(50226002)(6436002)(71200400001)(71190400001)(7736002)(186003)(26005)(6512007)(9686003)(86362001)(25786009)(102836004)(4326008)(446003)(52116002)(476003)(54906003)(6116002)(1076003)(386003)(6506007)(76176011)(256004)(486006)(66446008)(66476007)(66556008)(64756008)(66946007)(2906002)(99286004)(316002)(4744005)(3846002)(11346002)(8676002)(6916009)(8936002)(53936002)(5660300002)(229853002)(6246003)(478600001)(14454004)(66066001)(81156014)(81166006)(6486002)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR03MB3750;H:BYAPR03MB4773.namprd03.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: cIAni5UcanJcX7vPbNMrwcvqj1RcvIH6eFBZB2Dkfs8gEX4z9d5Asbb2fMwk1OiKZmd/Ilci4ac7plKkEmkJbc3s2P60IA8wfHjkomxIHqtW1v77hfVj38XvID4aknexCNkaCjJDQAFdECp+ql5NMs1W3u+l7qT8JrJ71PxOpXBi3lgfb8OBvgFDcewPY2kExKEmwD8O8XrTc2+vwWh2jevoP5qbaaO87SZf+PzW+XprDUllk9fke80MQhjJokG6u4b+STiLfwR9CplcxI6QZo1w4Skm6vY++plWJNsv6HMjhrr2NdKEJBZgQ4/cb9L1LHSDPfn+tf8Er3lRGy6e/gFiflc7p/XQm5ggEUUMZBrWi0Z/19NzC8aDZsqG0hNJPkcI7+oRQuSi9S6zopWsqbchsWby+9QpF1yRNE3JJpA= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67cbaca4-baee-4dc1-40ed-08d730300d86 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2019 05:32:04.3857 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tU90jK37+mSDTFkSwjv0gNt3BP6UxYID/V4kj78tSytaOiXgUKt77pEOBHj/4+Fw/e8iFTueVJSUwznLhAGMpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB3750 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Sep 2019 06:47:52 +0200 (CEST) Julia Lawall wrote: >=20 >=20 > From: kbuild test robot >=20 > Use devm_platform_ioremap_resource helper which wraps > platform_get_resource() and devm_ioremap_resource() together. >=20 > Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci >=20 > Fixes: 658e687b4218 ("hwmon: Add Synaptics AS370 PVT sensor driver") > CC: Jisheng Zhang > Signed-off-by: kbuild test robot > Signed-off-by: Julia Lawall Reviewed-by: Jisheng Zhang Thanks