Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6634065ybn; Mon, 30 Sep 2019 00:57:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1DSgXcBv77L71yE01L85R1WBsuri3YhNobi5Opl3D4g5iwF9L83e+XOAczqS/O41XtviM X-Received: by 2002:a50:fa98:: with SMTP id w24mr18354752edr.47.1569830260479; Mon, 30 Sep 2019 00:57:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569830260; cv=pass; d=google.com; s=arc-20160816; b=t3padfP6iGobrl2RWwbepMUREQxLmRtrc+1zXnG9pH9hZGUAqsph7r4hiY/UW9hEAF cdc5woMHBmxzSYMRE+0ec1b4YuZCPCXxGCY34AlwmbjbRX0Wwh3vWRJlUkZO7+8AP3Od Woot/MctJl81n9KCV/gInpKhTEc/u57hPvjjXk6iperI/T4RkTQEz3nUCBQ+ExCtifGj PIKF+nzsrcbdqsUlB+FdWX/a8RlPhPcDeod4iJqRRD0sUrL9eS4MiyPtQsPchbL8Ak2I 9fbz1fpKmylNeTqV38TOszdJfVFz9/9jkyuvbwLpBVdAUrmWrLw2ynf+bTFLHLGrNVVw tAmg== 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=DVYuVKFrzvKLNSDUd2SSC4SQN2rgKURfC+0IJTWbNlk=; b=PspIRKXuTxKx4MtdPsU1zbhxVDam78zpx2VkzROFV/EWBj+NAU++12y44Wkey3PFyH +SoRRw9IZE62uwrhKbKECzGLfZakYEaq5znyWOHc9bQ4SBbpDAwdK/iectaAlgLLVcgX TDi4iaWwfOlwlvQwOejcXPDsDsVWjujlS3vlpg0+Q2Led0m2ETOGzwMHWlYT/AXh2I9v VptHDNVunb/k0BRB9AOH5JSLaAc3nplsxawJRtUDFFpr+RaZZ+Zb0TBYhVkM3OxisLWd 83A3juPlTXJ0RwJ+ygZyExxNp61epDATvR87ggQOLcwBp13Z4WkpDrHbtic7Y1uw+zuy 9RNw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Goab1upz; 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 w58si6356105edc.312.2019.09.30.00.57.16; Mon, 30 Sep 2019 00:57:40 -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=Goab1upz; 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 S1729687AbfI3HyP (ORCPT + 99 others); Mon, 30 Sep 2019 03:54:15 -0400 Received: from mail-eopbgr30052.outbound.protection.outlook.com ([40.107.3.52]:52802 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725897AbfI3HyO (ORCPT ); Mon, 30 Sep 2019 03:54:14 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B62w/XCtyoSTokWTb51iWJvA5eypCijaBE9M2YrEkXhL+iGFK1bKkgeitkfPF4I22veUdugPIHm1Kad7RsG5PqmoKq770uttXMJg6XdwnuOfltrpslhbYM628dgkdT9Tc7UNNgm5tWPME16ZylGuLQNGzfM74uPezH+I+yuiM9Fgaw4q9ZUPWzEbUPFiAYlj7YhWj8T8GrW4y7SdClsRYuqSzM+2Dlf1k0DkBTZZMelv2WKCy5umQyWCoC7q2wkH3vX15edzM8G5WAWt8h3O2EVku4J8HORBDawYD1vgvEKDmVALkIr/nKA2xhikOsMbpBorWktRlVSEAJ3N1V8LUA== 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=DVYuVKFrzvKLNSDUd2SSC4SQN2rgKURfC+0IJTWbNlk=; b=BUQVIVucBV5HqGBrrlfK4FcnC5ZPZRzT1K7XQ6ywsjL374PRHRMEypb3BRMlral5pfpJz5B20G3McYqlmZaWKZwLFn4ZWe47fmRqOmKOwoLRhD3s2m3sAv8dpDmKtQILOLCIykWOSvyx6Juz09boFz0qgUg6bw5cXBYK7PVZu6Py4kMZmEo2BZfXFZ+/8AmoZy/xz9KEgTdaYRmZvtdB32Z6Ei7NKW3QLSU5LBowkkQhNnwwfNferzq+Q2fN07NOY7PGFLJlCU8qvyqsOiaLUmHmp6PkZk2BQlZ2uDi8uSF/xhcoFmiOfSCnijug6/619R9eG2k7MUs2wFLevDZHXQ== 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=DVYuVKFrzvKLNSDUd2SSC4SQN2rgKURfC+0IJTWbNlk=; b=Goab1upz/Nm2dP+ML59JrrLv5oP/PF+Cju9BCmgFVhP0I9IGBR/h2QeZY647aOhviEFRjdzaRC87YJrdk/fgXxkNdil2J2DgtbE6C96Oc+cwxBVbBscBzeCoxFkLewWeGtigLVbT3q/HawRbrax7zj4l0nDV7+8g/3AV0EosiqU= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Mon, 30 Sep 2019 07:54:09 +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:54:09 +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/ErvPybCJUCbZ2x7mLGjsqdD3BbwgAAEytA= Date: Mon, 30 Sep 2019 07:54:09 +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: 9bbeed7d-a146-4f95-924e-08d7457b6056 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0402MB3916:|DB3PR0402MB3916: 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)(346002)(366004)(136003)(39860400002)(376002)(396003)(199004)(189003)(5660300002)(7696005)(26005)(486006)(66946007)(52536014)(7736002)(64756008)(66556008)(33656002)(66476007)(476003)(6506007)(99286004)(446003)(76116006)(53546011)(11346002)(305945005)(6246003)(66066001)(76176011)(25786009)(74316002)(102836004)(478600001)(66446008)(86362001)(81156014)(71200400001)(229853002)(71190400001)(55016002)(6116002)(8676002)(256004)(8936002)(4326008)(81166006)(44832011)(186003)(2940100002)(6436002)(110136005)(6636002)(316002)(54906003)(9686003)(14454004)(3846002)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3916;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: pp40Oa/D4dqARl5U0sW5/4hwpm6pyD2t2gpcyUJjVywhcRh1Ko41LCobVZdMMeFw8O45Fs8jiPrOZ9aWBul8SCUSf2V1jYSC58fb30TH7Sl11CrGTGGapitzfWIVP8wAmHMQEdN3/6zrlIKAv4HyJDL1z0/q8uRTYIFizvVeqHk0N4+WvrRG/D09MSZb3OUFSqp6u4kj4tP+/jKiH9vzS3jRnCwyzMdu4nopkgHNnneo4nKZeBILysfbiNbu4IVoKHYQrti1MfBFIJA6zkV/g9Rt76RQH3xDNsp9uRmURcNggWEYJhz6cthToXWXRUx9OXF7T4PxjUJ470mYN7K7nPhdFXAFPMr+SM8G3G7zBlz58utLZlkHmsl9xkIAUWXMQNayWjHzrto9uhk2v4PcySyIHISYsUzY+VVdUSoEmsA= 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: 9bbeed7d-a146-4f95-924e-08d7457b6056 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2019 07:54:09.4895 (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: 3m9b+cxHIHSK3xejFaYcfdvH7ZM8NDcpqnQNgkbZgPIEt/foWwHGUz1ZhZolR9MnuFpTbOblZoLUSJUlp+9dMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3916 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIExlb25hcmQNCg0KPiA+IE9uIDIwMTktMDktMjcgNDoyMCBBTSwgQW5zb24gSHVhbmcgd3Jv dGU6DQo+ID4gPj4gT24gMjAxOS0wOS0yNiAxOjA2IFBNLCBNYXJjbyBGZWxzY2ggd3JvdGU6DQo+ ID4gPj4+IE9uIDE5LTA5LTI2IDA4OjAzLCBBbnNvbiBIdWFuZyB3cm90ZToNCj4gPiA+Pj4+PiBP biAxOS0wOS0yNSAxODowNywgQW5zb24gSHVhbmcgd3JvdGU6DQo+ID4gPj4+Pj4+IFRoZSBTQ1Ug ZmlybXdhcmUgZG9lcyBOT1QgYWx3YXlzIGhhdmUgcmV0dXJuIHZhbHVlIHN0b3JlZCBpbg0KPiA+ ID4+Pj4+PiBtZXNzYWdlIGhlYWRlcidzIGZ1bmN0aW9uIGVsZW1lbnQgZXZlbiB0aGUgQVBJIGhh cyByZXNwb25zZQ0KPiA+ID4+Pj4+PiBkYXRhLCB0aG9zZSBzcGVjaWFsIEFQSXMgYXJlIGRl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