Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1849174ybn; Thu, 26 Sep 2019 03:10:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzm3h5PXlTuO7bff80qpU5L2NRS1k6IVXo1DKVfBDizI9PLVbrvszirQbU3StXaRpekY1Bo X-Received: by 2002:a17:906:80c3:: with SMTP id a3mr2214907ejx.271.1569492637886; Thu, 26 Sep 2019 03:10:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569492637; cv=pass; d=google.com; s=arc-20160816; b=jA/Ph8vJlHwmQRbjaKFXwLzijliacunslYI75XSIL/B/I+6YfIfTw333FgPTKvYvKD arbE+LlQsEF3iDmc0oG0BFavECXYbU+cRdCesSTiuCARtg1XVQkEkkyMBz98QmsgqjYK 4EbFYd5gvfFlpLpM2HAMKxugKGxfHnKbk7ivXeAakVBgu8R2oJluKVbM6+/stgkFdjwo /XPuS7PTu0w74CfOvhx/cnyjYbpOh+tgakLf3lLEGyJdtPARHaeqmC43LH0/raS8vG21 GFdbpjmbjTNEnCPWxL7F0W1vrARjRQdM9XudN0iaxfk9wJE6YgaeOvDbTQTbQu39Y/Us G7CQ== 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=yWM+pGzWk+tdXhbVO/nMawLljwi+CaqOh7QRT8bxLrQ=; b=YZ3lNhDoKsTENcAb7B+ruKd4UKhjJr4gs4al2lp/KZD2jvchQtk5L3Avvk4/+gkF6i NmjphgQg4Ql6FtzRoj0A+bREt5bSkK6XPVmNAx6UNUhCP2dIjAcWkyEzS+SR7GtiW95G U70YA0Zhc6l/8FqS3zmJSkPd88fnS7RZjmndTSLIzA2hHoUm+i6CvtrQ26GKZDEDtmWW U+zhuF5jXaOWzWMG8AUknT8ZrGBaWJGIA6KO0ejzzjqY2QlBGFqk9IgfcmWNZwqsQjnI igNxJcihLKec07zU+6kvk7vk3RhA5GGmPnheNvsC88Nw1n8O0oE5/1/KhJyUTm27yROR Q0DA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hqW13Fak; 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 d15si1014011edq.430.2019.09.26.03.10.14; Thu, 26 Sep 2019 03:10:37 -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=hqW13Fak; 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 S2389210AbfIZAfF (ORCPT + 99 others); Wed, 25 Sep 2019 20:35:05 -0400 Received: from mail-eopbgr150052.outbound.protection.outlook.com ([40.107.15.52]:56034 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389070AbfIZAfD (ORCPT ); Wed, 25 Sep 2019 20:35:03 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G4kEelbW/ZGGXyhN3APElIbZVe3rW4auFxtXGeA01Ui82D3d9n/33OizDfwc3E6M2sCfK2uCNu+cZRjyZmRty7NG+qpvVd/HLkOaAnu8HtIJCyAAqMZGeZ1lRPjknRIYCgMpNqnzU4ZeTBnUoPthRM049TCjzKI91WjPJw4UbFOSBouXGfpCRAMdF3CZXn4Gp3GHtC5nCNsrozrpjFjtIZJDLqs4MBE+7dkah6Aa5KPbsY7L5Q011BHcixQnmfL6pKc/3oVqCnq9w65B+IGaxgJb21R8yIGPorPyGonadPU/x4CCyfvY/djaU/11SJOnE0x0vl7Kea0RNoRpsD/GLw== 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=yWM+pGzWk+tdXhbVO/nMawLljwi+CaqOh7QRT8bxLrQ=; b=GOcM86D9Kf3TSON+zwhsS1y5N2JVUU5dPZz9d3EyOLbAlzHhDCwRcv1pd/Udlw4se45d5bqYbB5iQeVe4ZWSNzp/tf9tZdsVMIRVdsrhMnSn2qos6tZz2dWxUXuSyd2MOwCql1lk9CXaIdDhK6SapQkDGYrU9Vg1tmJ3Jz+0VniCdlz91cbI8/1hPzgAIooWTGqd/Vhu3LDoDyCvjBcGLTTE99e8QD+JSk1+QVDi4E1Dogdc5HieGJUBUYXVxsXqbAB0okByw6tacVnLNs1/i1QXutsp0/yVHEVcxn0tbF1iiyPhRUoAx2Sw6nKgOFxwzTtJFvyatcW4MBRGYKL9Dg== 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=yWM+pGzWk+tdXhbVO/nMawLljwi+CaqOh7QRT8bxLrQ=; b=hqW13FakOrgZKzOsc7f6yaQp//Fszr+ksQAhSSgsMUUWiIUG7bP/b+X4mrFZ5rJnRxAf5IkbFhk3XTf0+6Nv2o2jSS+qH/UYajro6jfm9ftGi1HZIzea1H/wZ1liL4+KaRwDBg5ZF38k7fFrAJLvF65/UD5VJ5+xf4Dee5DRgxA= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3755.eurprd04.prod.outlook.com (52.134.71.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.22; Thu, 26 Sep 2019 00:34:59 +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 00:34:59 +0000 From: Anson Huang To: Leonard Crestez , "shawnguo@kernel.org" , Aisheng Dong CC: "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/ErvPybCJUCbZ2x7mLGjsqc9G1eA Date: Thu, 26 Sep 2019 00:34:58 +0000 Message-ID: References: <1569406066-16626-1-git-send-email-Anson.Huang@nxp.com> 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: 37e6867d-1993-4bf2-d030-08d742195c8f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DB3PR0402MB3755; x-ms-traffictypediagnostic: DB3PR0402MB3755:|DB3PR0402MB3755: 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)(4636009)(366004)(39860400002)(376002)(346002)(396003)(136003)(189003)(199004)(6636002)(8936002)(55016002)(229853002)(66446008)(66946007)(86362001)(6306002)(66476007)(64756008)(256004)(74316002)(110136005)(7736002)(66066001)(25786009)(9686003)(6436002)(305945005)(76116006)(66556008)(316002)(44832011)(2906002)(2501003)(71190400001)(54906003)(6246003)(71200400001)(4326008)(5660300002)(14454004)(476003)(33656002)(8676002)(478600001)(3846002)(102836004)(6116002)(186003)(76176011)(966005)(7696005)(446003)(52536014)(11346002)(81166006)(81156014)(99286004)(53546011)(26005)(45080400002)(486006)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3755;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: bDgfMDRRSDfy4Pi1JJmgRewGAYelfYC6skqS8xu4N1veLcqqILXs+AiZWyhrZLwVgDJMQYNfLKcY9PHccA9IUEwXct5gEeIBQajBS8VlHASv/ZLtfD1wJvT7muBRXHxOavbBpswz6ZoZB2JK6PqTfaAQBEuA4xQuTflUlTqzJuISczazeXXAaTl7YYCFFAAfHidzm4jyy95HJ6E0EWRK5p7qnDit+GIXQx2tR2TjV6wp0UORMs3p2TesLApD2k1r1NeRU73ly420MUDUHHNJ4yWyd8msYAVhUGaFmfxQtiV3479TLPIFV44SIC7cTB5HnqHCXF2PaQ9kT6D3IeFQUGcPdyUOQCeTZJaohJUNJSigyw5pMXQo73mdnD7po77bwd9CAyEkyCEN8OhsLclcyW9Z27TlNn6zWfn4o4XRcVU= 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: 37e6867d-1993-4bf2-d030-08d742195c8f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 00:34:58.8860 (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: GvV7RK4dJmOJRtTIh1ZNAj970sicNvxO1llzrfcIepcy0aM9COjwWunT8S/xzdAfdbi2P4rqlcJ0olNYa1peIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3755 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIExlb25hcmQNCg0KPiBPbiAyNS4wOS4yMDE5IDEzOjA5LCBBbnNvbiBIdWFuZyB3cm90ZToN Cj4gPiBUaGUgU0NVIGZpcm13YXJlIGRvZXMgTk9UIGFsd2F5cyBoYXZlIHJldHVybiB2YWx1ZSBz dG9yZWQgaW4gbWVzc2FnZQ0KPiA+IGhlYWRlcidzIGZ1bmN0aW9uIGVsZW1lbnQgZXZlbiB0aGUg QVBJIGhhcyByZXNwb25zZSBkYXRhLCB0aG9zZQ0KPiA+IHNwZWNpYWwgQVBJcyBhcmUgZGVmaW5l ZCBhcyB2b2lkIGZ1bmN0aW9uIGluIFNDVSBmaXJtd2FyZSwgc28gdGhleQ0KPiA+IHNob3VsZCBi ZSB0cmVhdGVkIGFzIHJldHVybiBzdWNjZXNzIGFsd2F5cy4NCj4gPg0KPiA+IFN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