Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6625288ybn; Mon, 30 Sep 2019 00:45:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpxFi4W0gUN8rMGFp5YjjiYu1UJMn0nPIpdgIq7ma2lHjTFoa86uyArqXMuqSicUzP0UlI X-Received: by 2002:aa7:c2ce:: with SMTP id m14mr18235325edp.191.1569829545588; Mon, 30 Sep 2019 00:45:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569829545; cv=pass; d=google.com; s=arc-20160816; b=Nju8Gf60Vs+KYpQapdicyvejJ0qM0MMzQF7Ccg3UkQrvtlQaWrXMaCbDD5T2tkTaZO BJpAc9gMYXisoBWz6N0ZMMZnDo7bdIypXHmuAP3SunAhuI5l97RBIsjSV55avp+beCXq WdI1rL4TicVEfNKSWVPxW/pSEGzA4editc4rIznMVXI+A06HdmpihCN1oFHrVNk38qDx K97kGWDfRjWiaUZ54A81a3fASCGo2RIVuKAgMTYefQT52K/CKJiCEOnVOD2BywBbU3ZX FPxpKUW1kShb6u5JlufsnfA2CMnsK1r1vvWmUmV2qKChaYkjTviMGEZrhh0CvfgaN848 sbAw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=ztC8OOKd11OEEpj6Kd+/o51IBmm1whnhylBv0wqYAhw=; b=jXlskomPSkHVne+hMdo+UmEcLLrrYtorUEASy+rinQynHUWWr5mgtwEoGE98F5n1ja fslV09NdyeuB6Tvyhg8V4paIDcO2MPxOve4Dgkmo7sL4qfc18K68h0HIhBW0I32lbRMH nR6kySwSMueTCPi9DouE37kJJCQjFO9pYES8s0bG8cuSnAHZPrgWrOhxquHNj/thprqN KgR8OyUjOZGTkD3pJcdp4StNjJk5mg4vQglGzrX6k9d0BlzQOP+xAblnUqYXxw9dsWK8 QG/je32sDKxLZJ8VxXOUOOHiLYCJvt4/sLCC0yj52mbgdYlSf+keRtSk8TxOLfNBu3ne 3hhA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=q6F1+fOF; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v17si6327066eda.256.2019.09.30.00.45.21; Mon, 30 Sep 2019 00:45:45 -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=@nxp.com header.s=selector2 header.b=q6F1+fOF; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729374AbfI3HnA (ORCPT + 99 others); Mon, 30 Sep 2019 03:43:00 -0400 Received: from mail-eopbgr60053.outbound.protection.outlook.com ([40.107.6.53]:25670 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726008AbfI3Hm7 (ORCPT ); Mon, 30 Sep 2019 03:42:59 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mat9aCpGkf8oOZf9vztchxB/4obU/BAa2YWGUK1OOIxrRVsJHD/0/e2RJlqgGj2w24xfXCGyTNpF8foyu+I9nNH/i7nW9t+k93OQXG0gK1NXPXGZA5RTkyVECyHp7qaYKEv2dh5R4G4YHyEfAkEGdvO9uEWVCBXxirbzGPgIOxfd/EKIQ7nL5ztoCQfkzdprz1Bk1CAjQFZrOUFYhDueElUTAXVG7MwLn9u/3sAPKBlJx11H/vsxnLHXnRUjU4K3GDRdMv6JuiduJXK/EyBDCl5qklBESapMUzzVGlMjAk47zWT24stYSktdp2IupYQJbLLYHuhvMe6P+W7K+jRTgQ== 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=ztC8OOKd11OEEpj6Kd+/o51IBmm1whnhylBv0wqYAhw=; b=cKf+d3ZXfDsj+0ypMc1ddU7wSGCH3NTgmuFWWIHcxS4EJss11fvok8y01S9nb6SLGliUhi9YMx2YbwBycazP64kMyqEXYdoxUdZrhjqNkGIKRVPyaijyyJb0QWMVJpkTzH339APe2KifG7FuDbwDSKeH9QXMBZykL0d+hanNXidyJDIKWcdXSkASSEHwzm2plIUS8+kwOrgZ1qU89rC4K3KFlgDqTr/Vq0oAdS18VAW6Kgbj6RsEJGZxX074gFR7WT9qHGZPUOuJBuKX3imiVERwBbsis3picEHguRVmhI7FNH/FDSSGbTMLQp9RrH4A2TBpkfjq3PXG4mHU5i9P1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ztC8OOKd11OEEpj6Kd+/o51IBmm1whnhylBv0wqYAhw=; b=q6F1+fOFzlCUktgs5AlltiysVuNB+hrO0rtjaa4Uq3M/4CDH31bIKMa2Vh5PorirVt0pyWR29AJev8bwR+H2jJIxIMufcEZlVwKkG+AywGrpugpNnFPwPfx2gD/mqN6H6wUVkmH9xlcSe6ZFIFfHjR6KszqKytQzOgmEiq6oWNs= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3724.eurprd04.prod.outlook.com (52.134.66.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.17; Mon, 30 Sep 2019 07:42:54 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0%6]) with mapi id 15.20.2305.017; Mon, 30 Sep 2019 07:42:53 +0000 From: Anson Huang To: Leonard Crestez , Marco Felsch , Aisheng Dong CC: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Topic: [PATCH] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Index: AQHVc4lT/ErvPybCJUCbZ2x7mLGjsqdD3Bbw Date: Mon, 30 Sep 2019 07:42:53 +0000 Message-ID: References: <1569406066-16626-1-git-send-email-Anson.Huang@nxp.com> <20190926075914.i7tsd3cbpitrqe4q@pengutronix.de> <20190926100558.egils3ds37m3s5wo@pengutronix.de> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d64775b6-04de-4499-e611-08d74579cd59 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0402MB3724:|DB3PR0402MB3724: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-forefront-prvs: 01762B0D64 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(396003)(346002)(136003)(366004)(376002)(199004)(189003)(8676002)(44832011)(66066001)(86362001)(71200400001)(14454004)(6506007)(53546011)(74316002)(81156014)(5660300002)(76176011)(102836004)(81166006)(305945005)(66446008)(6116002)(3846002)(2906002)(476003)(76116006)(66946007)(66556008)(64756008)(66476007)(486006)(4326008)(478600001)(446003)(11346002)(71190400001)(7736002)(54906003)(186003)(6246003)(9686003)(256004)(55016002)(229853002)(33656002)(25786009)(316002)(110136005)(99286004)(6636002)(6436002)(8936002)(7696005)(26005)(52536014);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3724;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DPg1vHzn3k5mvtjjV/qsbwuD1NaX59/JTGwLciFb1tS8g466zxG6OYeMupzn9pZEQxSqO5hgGjMDn+prfqswSLWmAOnMEpux04jk6UVz+0bgxDefNCbkNLvuZnA+hfGzd21ga6mVaPxVAnwB4nWQbOLeAaI/99qjSSWsarGz2jqHH9TUHp5DpIdfdxTVff0mAuE6CJxcfuK71xpEqlv3Ns40gkcUpk2Jt0WiPKxawFmPrXdRDIXIkVjghXI8d1BJ16VbW2UyAulKqP1YOxWZP95hObCX/twGYYr/Zy2weH3vcFVPHGo8dQdVbMfPwo2lcTI8+w3ShC5adClDvIL6wb80Flpp3sx28zT+en+0TqS+xEvv6y0d64xxL3+8jUNxcT/WSMYUwfR0mhwnILGe2gLwGGS7+RA8fkO9jEwL9JM= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d64775b6-04de-4499-e611-08d74579cd59 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2019 07:42:53.3675 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GeinievhZ/i0/nhONHnDeGBG2ev1JlXSxhHSop4lrqKyfbNkXkLFUISgyxdTy/0VqwbEqqjIRLYO/8ze5TF3/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3724 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIExlb25hcmQNCg0KPiBPbiAyMDE5LTA5LTI3IDQ6MjAgQU0sIEFuc29uIEh1YW5nIHdyb3Rl Og0KPiA+PiBPbiAyMDE5LTA5LTI2IDE6MDYgUE0sIE1hcmNvIEZlbHNjaCB3cm90ZToNCj4gPj4+ IE9uIDE5LTA5LTI2IDA4OjAzLCBBbnNvbiBIdWFuZyB3cm90ZToNCj4gPj4+Pj4gT24gMTktMDkt MjUgMTg6MDcsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+Pj4+Pj4gVGhlIFNDVSBmaXJtd2FyZSBk b2VzIE5PVCBhbHdheXMgaGF2ZSByZXR1cm4gdmFsdWUgc3RvcmVkIGluDQo+ID4+Pj4+PiBtZXNz YWdlIGhlYWRlcidzIGZ1bmN0aW9uIGVsZW1lbnQgZXZlbiB0aGUgQVBJIGhhcyByZXNwb25zZSBk YXRhLA0KPiA+Pj4+Pj4gdGhvc2Ugc3BlY2lhbCBBUElzIGFyZSBkZWZpbmVkIGFzIHZvaWQgZnVu Y3Rpb24gaW4gU0NVIGZpc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