Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1866339ybn; Thu, 26 Sep 2019 03:26:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTIyUCbYebwEdFJW6tzO9AySOPGtK91x6p39tiZm9G/5X9R7HIc5PDeLz2wIKPH2UPdoof X-Received: by 2002:a50:ed01:: with SMTP id j1mr2673791eds.268.1569493606193; Thu, 26 Sep 2019 03:26:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569493606; cv=pass; d=google.com; s=arc-20160816; b=GSn+dmQfIsrRk0/EBOTPzM4hxYHgTUS/KlXVGjqQau7aZakecHrNBli2E81lGRuuRU Mx03j2VUsiZu8z/EYiTnXTRoJDZLu+Afe7eW/w6RAt5iwTlDY4VV62+kS0u0l3fyXpA6 5mDCv9Zgsftko1E9D/ux5jGmeQD09/Wz7jkj1S3hfNzcIRdxm5M8zJXbyb8GVilzBQlK dL3PsglAXzGJaxIaylunO7LAEpK5sTML+/LPKBF6FEgFsTkukQ7Bgb3mpzVnNO57hXw+ sDYAXucTJEC0xBi3UP7o9rTQp5NadXgPVWyUWGvn7A4I85NPtWqZBQL39z8KNIvfbfYo +Esw== 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=VUigfO2G3aNApvlxY6j6Lppk+xtWZGsqgemnc1PXHn8=; b=DqUonqK6+MXioBK7D9rIc4mDuqYYmy67Djoc0xyFfV7AgQuEjeL4Rg78Uc2DSsC35v H6+WmSBXG1OabD+8+dB+eXnqELIS/0uud1scIHIx99hl1E8aMsQjmylRf9ZHq0WLd6oZ Egy96n3vBVa/EFpFr7gsgtLysExQYIso4QE8Il5iRzzg+qdQcwcQsEJuqpukcsD6VSeI kVJ5s0XCaj1X+Ani6lK2AvXZc7TH7rU061ga3Z5+Voo2cMTr4Ag9A5LxJYy/ElPdVEVL iZU5AywQTQOm/8Bghyg7lFaaiOFR6C4aSU3ioiu5GBWmAc/nfOWj+fhZB4lrjEGKaMr4 pwEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="mBz/EbKr"; 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 n2si751370ejy.35.2019.09.26.03.26.22; Thu, 26 Sep 2019 03:26:46 -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="mBz/EbKr"; 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 S1728624AbfIZIDK (ORCPT + 99 others); Thu, 26 Sep 2019 04:03:10 -0400 Received: from mail-eopbgr20076.outbound.protection.outlook.com ([40.107.2.76]:5191 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727941AbfIZIDJ (ORCPT ); Thu, 26 Sep 2019 04:03:09 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gcluinXr5u9LX5+Ep/9bs9cdmdoHe56653zEstnmSC7Q3EBf0//PIsvXQPV8dFtlLZpKSpjSxUzuJSEEsvj8DWfXM1hx+8TaZTvE+/i4aLC40dzrGMNglSe9idZuaBjL14Jbmuz+bx6HUIyPM9+dkGFpop/x5QyqCDqU40driYF+fRLzEuT7TCHZdOg7G/Jtt9rfIDSLjkTjFY2BYIxg6F1F0j4jhXjLE2ttPncVWQ9h4SaxX4nP/J9eJlgAyoxDzXqhlRASE0+tY4CEVrqOTB84lgmTz92k9IVTIrS2cJEzdLrl9+X+eZ4i+KNOkNXwl/Wqew6gRYdQa1yNhDRADw== 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=VUigfO2G3aNApvlxY6j6Lppk+xtWZGsqgemnc1PXHn8=; b=Lxj0inqOVVCnskhrVefzm3Ep394XbJc6Mr7BZANYdsPHzO0iBf/AjxWZ+Ds8tmqVxAuM4cykkIPA5ZowLJZrb+1gKGTnHLmkWRHVBmkQ4Ggriy6Wos1jCv5plMdw6FDLi/r+8163qiLg+VfSA/04P65HPq0pkqKxrN+SqJZDOlFMQuJ6nsohVDCZhFMokQ3nfpnddUql4MknPfmUstulKsuHfPCXZGHGultxidpGgWg4zNYPLsq7vHp+Y3AlkWRzUWScAyuMtVojenoSnk5swzyhS0qWRUvf3vMxpomxmHUlK4SviKUvWyixCSf4ZuJisPQWTO3Jd1w7elqZOOJNzQ== 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=VUigfO2G3aNApvlxY6j6Lppk+xtWZGsqgemnc1PXHn8=; b=mBz/EbKrZqeFAMnydEyKkh2Cw55NhLo5GtXOaOVINPOzNORgOoraAsYVd/lrE/FKf9SMwSeqrclao1geS562gvPuvNCftPL2bZJP+OEPgUCRlMfd0U6EqGtBODBah5u52Yi7wxXrtNSYkvyflzkI6UE3mr2xpjb5M3hoIHcKl64= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3900.eurprd04.prod.outlook.com (52.134.71.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.25; Thu, 26 Sep 2019 08:03:01 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::8958:299c:bc54:2a38]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::8958:299c:bc54:2a38%7]) with mapi id 15.20.2284.028; Thu, 26 Sep 2019 08:03:01 +0000 From: Anson Huang To: Marco Felsch CC: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Aisheng Dong , Leonard Crestez , "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/ErvPybCJUCbZ2x7mLGjsqc9mYAAgAAANtA= Date: Thu, 26 Sep 2019 08:03:01 +0000 Message-ID: References: <1569406066-16626-1-git-send-email-Anson.Huang@nxp.com> <20190926075914.i7tsd3cbpitrqe4q@pengutronix.de> In-Reply-To: <20190926075914.i7tsd3cbpitrqe4q@pengutronix.de> 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: 61aef425-6e4c-4215-0bba-08d74257f3b7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:DB3PR0402MB3900; x-ms-traffictypediagnostic: DB3PR0402MB3900:|DB3PR0402MB3900: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0172F0EF77 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(4636009)(39860400002)(366004)(396003)(136003)(376002)(346002)(189003)(199004)(76176011)(8676002)(4326008)(305945005)(66556008)(76116006)(64756008)(486006)(2906002)(71190400001)(6246003)(476003)(9686003)(74316002)(45080400002)(6436002)(55016002)(44832011)(52536014)(66946007)(6306002)(66446008)(66476007)(229853002)(7736002)(71200400001)(66066001)(256004)(33656002)(478600001)(6116002)(3846002)(81156014)(5660300002)(11346002)(102836004)(86362001)(8936002)(186003)(966005)(54906003)(446003)(6506007)(99286004)(14454004)(7696005)(6916009)(53546011)(26005)(316002)(81166006)(25786009)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3900;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: GyEdOr56flwaxBF0XfzC/fw4XoeC1HDEtZ/2pwcRtmqTvANYRuFnq+lqBJvLlQFugtrc4f8sfEqHvWy7CWQG5vYbSIBBc46amiFJ0WjLaJdf7ZZNRBIP5M/bka9Sm0o7escSe1c/bSA9nZ8LwluM1fGeehRMAOx9VbvgyUifsaTRYQgYywCbiLsM/xEQBlTRgmxAq0Gfw7oxEK7Ho/UIDVpEZ4EChlZARoEVWuQ/6ocHV74biOyhEkEmyYIrDL8A81cwWyNAUaDGnczdkir3reZPljVCnO2JQS07kV0yXR8piUfTmRRUbbPM0XHOfGidhrn8G0jSOfxyXpJ5oLRsXb1kpR5LDIFFcE8Gqf7+Hwq4/0oYLUouV9I/gB10Mt/VtA/MtcqqILCvWKVJlXsXNXDPYbWaFJqqhQuAPsdQLro= 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: 61aef425-6e4c-4215-0bba-08d74257f3b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 08:03:01.2993 (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: +Nh03er2WrEVRcbQfYNxfidMLhbopbXyURiJZJ+LasWKJkh9NMxn+c9X31+EhLae+jXcl8QnTsu/2YcTGGRoKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3900 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcmNvDQoNCj4gT24gMTktMDktMjUgMTg6MDcsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+ IFRoZSBTQ1UgZmlybXdhcmUgZG9lcyBOT1QgYWx3YXlzIGhhdmUgcmV0dXJuIHZhbHVlIHN0b3Jl ZCBpbiBtZXNzYWdlDQo+ID4gaGVhZGVyJ3MgZnVuY3Rpb24gZWxlbWVudCBldmVuIHRoZSBBUEkg aGFzIHJlc3BvbnNlIGRhdGEsIHRob3NlDQo+ID4gc3BlY2lhbCBBUElzIGFyZSBkZWZpbmVkIGFz IHZvaWQgZnVuY3Rpb24gaW4gU0NVIGZpc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