Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3186463ybn; Fri, 27 Sep 2019 02:28:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqykpJf5bINdxYJHrAEJxP/AotZMTieNAcNVxvJ1SInYGGtVXU7y6Qjk2wwz8lrAqE87oyaN X-Received: by 2002:a50:e79b:: with SMTP id b27mr3386234edn.186.1569576537404; Fri, 27 Sep 2019 02:28:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569576537; cv=pass; d=google.com; s=arc-20160816; b=LDfnktTYmhpkrtX9fwtz/C8Ulfh1qbV36Mgv2htb+J/auWSekHaA/sSx4Dfhunm9Xo dCrSxaGV0aw0PO3KUiyiM1tGzFPPLpfFfqkVKfEZstMC5/Q4fuDFQ2zhWEvLxv266XCz Sx2Y/i4hJ6QOqDq11bJJbBlHClgp6IeJiHDKXQYca7uRh8/FmU7aGuUD9znlWy9QVqqx DcaH8n5RUGO3fGU8wFfRoPn428uKG1brPI/+3P74t13cGp77a+Vr8EpbjDzDl0GB6blb RChrW/mFcUeKmV3Ze5Pp8ZQ42tvkvVpWd0RBwZGHU7rKMUnE+u5wHuIrQ9hHNf/KY4dU CjNA== 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=dzjXXP5fNfhxdwQJR454GPRrg3qmYBOoBArY/dHaitI=; b=gEFKv6rWatr+s7NYqelCoKlopm1W/KCWWBbbNDEyK0/xG8uboQT4M327KbAvWjttsK R/ecArva3zh4utuHe9gayvV3RBjyf4rXVKCV2+nV5ewgUxRN+Ov9yCxNoPoz6ZPIPxBQ Q7RgXM4TPFrc5rBly/jgWwH2+QQWQwiUHP6uxCLKYg/Bd9F7OwNLMn1ybGQWX2rLmJaE f2NkiZqX92AOzFGv4nPdMF12xKGm/jgEoVrkm4T9X2zogWGMpYBRxpGDaD+DHymdeLOj fQ3s1+q0vNvF7XD3o6nKAgMdpFor9uRwuDZ1MGEgTApghd+BeEUv6n+aVjsbpvMOFOnD q5zQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SSVxy7Z4; 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 ot41si2511250ejb.215.2019.09.27.02.28.32; Fri, 27 Sep 2019 02:28:57 -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=SSVxy7Z4; 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 S1727015AbfI0J1r (ORCPT + 99 others); Fri, 27 Sep 2019 05:27:47 -0400 Received: from mail-eopbgr00085.outbound.protection.outlook.com ([40.107.0.85]:10419 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725890AbfI0J1r (ORCPT ); Fri, 27 Sep 2019 05:27:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FJE4X238/k6xSETN6OySj08CPBr7bq2eERxApAplEKgueqRv0IL0/RE0CvN4LahgcUVrC5zEiY9De3qo4jUQ8B3gYBD+r/eEy0PhJwItEDCen83JbQt9/XusSI8uxntU00nt/P1PsdWbZt/9dhFhV/51SbUWh9wpek9V/bxCB8vITc2N5HkPWMVlfpv/grCdHmtFi4lGYIlVp2PklDs3MpQytvNLIqsKBbvPudZSaefNy1faIyy/DuaQr4H00ySWtAnX9tuj7xTCS+cDmztjDThtDSBZTdgkEDB4hEF1lQVt+udSMC3MvQYO1bw6GvoIadd7gkcPtOtryn0RIZUu3A== 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=dzjXXP5fNfhxdwQJR454GPRrg3qmYBOoBArY/dHaitI=; b=ChvSQufEvAabGnKGHkZrZpFEswYIPSY24uyMgVV2XnL6jzPQTuKXLGG5Q0ObQ+GuRtDL69WToOHZD+0W+rOZH/YzfKdu1EgxCY+7Bh6eq9JSqq9X7TP6HIUZJgU+s7lmYVheIwk1afylH8Z3K9unjOt0mV3AFfRGxnvXgMmCEUtRPl0e8DnWSMYCztFFJvB4URL3paGpeg95UpJHbYO714w2c34OHd7G0EeqpdJn0X8e4/RXcxzJvPn8rMuTXjKm0n+9VEZ4bmxDCemYXUZL0Qh8KAyKA1un8VK1I05DPRMepGzmjOJhLzM5r+qrMkq3uf0fOvvNoqjCoOBuJIg0pA== 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=dzjXXP5fNfhxdwQJR454GPRrg3qmYBOoBArY/dHaitI=; b=SSVxy7Z4gMjgDcZm9J9btoDemnNT0v9qcEbll7Gm6ShNEen5k2bu6JuknAkoRC4GSeUZc7qKCNxkTbd6ZON2lG7vBG1knBd8Pp/FzGvcSsuPitf9ioDKFR2BpUmYS2exQp7GZUdEHTeE4oKdgS35QKxfaJXRzzAqWkmwWRxCqI0= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3947.eurprd04.prod.outlook.com (52.134.67.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.26; Fri, 27 Sep 2019 09:27:43 +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; Fri, 27 Sep 2019 09:27:43 +0000 From: Anson Huang To: Marco Felsch CC: Leonard Crestez , Aisheng Dong , "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/ErvPybCJUCbZ2x7mLGjsqc+tdHggACItoCAAATDMA== Date: Fri, 27 Sep 2019 09:27:43 +0000 Message-ID: References: <1569406066-16626-1-git-send-email-Anson.Huang@nxp.com> <20190926075914.i7tsd3cbpitrqe4q@pengutronix.de> <20190926100558.egils3ds37m3s5wo@pengutronix.de> <20190927090609.fyxdekkzrco7memt@pengutronix.de> In-Reply-To: <20190927090609.fyxdekkzrco7memt@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: f2a61edb-6d7e-4e9b-7a4c-08d7432cf35b 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:DB3PR0402MB3947; x-ms-traffictypediagnostic: DB3PR0402MB3947:|DB3PR0402MB3947: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0173C6D4D5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(366004)(396003)(346002)(376002)(39860400002)(199004)(189003)(33656002)(7736002)(99286004)(4326008)(55016002)(66946007)(52536014)(25786009)(305945005)(66476007)(66556008)(66446008)(64756008)(6246003)(446003)(7696005)(81156014)(2906002)(86362001)(14454004)(81166006)(9686003)(76176011)(6506007)(26005)(53546011)(11346002)(102836004)(8936002)(3846002)(76116006)(186003)(6116002)(8676002)(74316002)(486006)(478600001)(44832011)(71200400001)(71190400001)(54906003)(256004)(316002)(6436002)(476003)(6916009)(5660300002)(229853002)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3947;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-message-info: s7q7E9naMGg/h66KWEfFIMDFuOC9epwrl609VmNwH/qDEOGaJyQafOfymj6ULl3ll2JdCG9ujJJF6THK+RslWgJQJmlcmwYBlxcS9C/zvW/Hq1+SDPDcaLGaCj1XlR51qi4pY3qTMICgEcKQpyJZiCBwSZOVDy9/p/yHm5J1bt2iUyhnym9ZIxskqDXM11BQHRcuv2u50jrTQRm9Tr1QqlNy31RIWObkppNzF1erhXFiBJIwLMDwW/Se4mLHss0wMKXH1b50pIveJjF2utQDDu2OUjf45uldYENxlmN7Xe9zHnjlkDyv1yJHHabg3e11VHBzMWuUr4NJZZ17bxSSnYbzawrd0cPfmRTVQWIqv3GjsopMAvqTudRguN/8YxU4meWk9R9M2TZRQae0TGr3fdq/qodc3Yo2XfchWyBALLY= 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: f2a61edb-6d7e-4e9b-7a4c-08d7432cf35b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2019 09:27:43.5485 (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: opUbC4mH2LkJGohKcp1d9ZiS+T4pZivXE1XaxaYNzPqMIsaXcEav0X6hZ2fswKjvW0rmC8B944FAzty3iY/y8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3947 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcmNvDQoNCj4gT24gMTktMDktMjcgMDE6MjAsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+ IEhpLCBMZW9uYXJkDQo+ID4NCj4gPiA+IE9uIDIwMTktMDktMjYgMTowNiBQTSwgTWFyY28gRmVs c2NoIHdyb3RlOg0KPiA+ID4gPiBPbiAxOS0wOS0yNiAwODowMywgQW5zb24gSHVhbmcgd3JvdGU6 DQo+ID4gPiA+Pj4gT24gMTktMDktMjUgMTg6MDcsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+ID4g Pj4+PiBUaGUgU0NVIGZpcm13YXJlIGRvZXMgTk9UIGFsd2F5cyBo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