Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp664520ybp; Wed, 9 Oct 2019 02:12:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZlMZ+m/xDleWGBYyVc37ddsY0cc+BCUEAXyiqxLQDXFLDCTIfYvOMYPn01HzvI8jCG864 X-Received: by 2002:aa7:da93:: with SMTP id q19mr1942687eds.162.1570612348072; Wed, 09 Oct 2019 02:12:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570612348; cv=pass; d=google.com; s=arc-20160816; b=qWBgVddPXS620Q1UuzEhEUrAlpYP4z5LLzHv/XohFbWdlmXE2jqgIUPpEXXF0G37lf i4gFqxZzwiVUeStcD+fwxCHdcxEhmKa4IxeQv6VUuCVM2zo/JLiWhyuLI6Yo1WeAtyaw IVQxUnywRxDgfEv0jYpgE0vXFwevrVLlMRD2g3DhvTjzGSUNeal+DTU2CgsvZLgnU68T XU6b7IrhXweS3jRdGQytKtsY/gzNOzvzjmvEU3/SLJPu229W+xuug/8qEJK5jKszmzo5 /gqHbwS/YekCOL6nCP6UYThg6PezG1mR9/23tZDtdbAhAgQHYP2A29OcnWoJA+VkFqYq OD1w== 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=cQnoNyQDLHB0rGETJXVu0dgZDOUaGkIPw/+dFDbVTYU=; b=rGLfCoMo0V9bQTfJ9kDBBY2xtsTYrkffHmJrGSvOQf2X0iSutxajc0nj6pMo7AarBH jCPsVJIz5RpN6b3Pb1MVMd1kIrnPGVINzSDqgvfN2m8F3S9FrHqjuYNtsmNrz9L3XJ0j B+AuAobdomiWsEYE7Fy+zQOxUcefo885+t91T5kGwU8YlXZ1o6Qj2kgcXIMACZJNl5Wt o0AYvA1uspWOcPn/PSdlB+IvImoG5hIYxEqteTRmHxXwBifLJdvmL2782JEknRvVb3YU FyxAGB6JU0cAxF3MaTHsnXmqs8pxGpyWnH1HwmKxgbpe9b/VJXC2oANFDcPYFeMvAc1A pFjQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SPla2cCm; 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 d35si924438ede.440.2019.10.09.02.12.04; Wed, 09 Oct 2019 02:12:28 -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=SPla2cCm; 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 S1729595AbfJIJJx (ORCPT + 99 others); Wed, 9 Oct 2019 05:09:53 -0400 Received: from mail-eopbgr60087.outbound.protection.outlook.com ([40.107.6.87]:17796 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbfJIJJx (ORCPT ); Wed, 9 Oct 2019 05:09:53 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aP5GCm2KN1AsnB+qNkptNGygmZ0JbpVIlb4ybKscSNguK7gAKNn9HRcmlhDyMvpkP7MTDwGc2V1Qo1KkD1p84qMGf2oHk6g6VEZ3Q8l0Z03ygVm85ZVCmgI2TA+Y3uphhPYVeQCXIQCwYFO22v4340hRJmLXSLGR0XsNlvDfsKE4H1JCAPIniumiwWTvKnKFEHpL6tDjpi9sNNj4NDO7EEUYbzc2Tn7Q/Jfx1R9/kre7/4iakUoJImzNc0fGfPxwgTSMDSTV2noDNJTWikCMRFPFJjRUfeIUlL6epAHA0ctQvT+uc1+acNJLOWXzMsbG9mkOK9UJRl6Kh0qMy5qDJQ== 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=cQnoNyQDLHB0rGETJXVu0dgZDOUaGkIPw/+dFDbVTYU=; b=XhmrrEm0I44Y7esg56Z/B38OY+TA2FPNP6v9WEdskEi9V0KD0U1f2V8O9rvHp2FeJpB8LJ7ou6kssVLGvMailZll02CTla1DyJ1PoEj9Q0bLnVFs66hQ0d0LKPukymg01gCdQo05WxwtCSDd//0y/cefhqwdDa9dkEtRCvHdnvaXWmL2YdODVCBVub47e92lWW7Veo+Xlg8qHMMx7OUj4kNPUfONEX8I3ECdaG8AW0QtWLW2474cnEuwNomv+gc7wAnZDFJYZFhlClw7ZwQBDEEY6mlPcEnrIMiF9JWu8y34RHodABA50C9pgzSUiACuPhQCGfO3FasVC/fq8Baxgw== 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=cQnoNyQDLHB0rGETJXVu0dgZDOUaGkIPw/+dFDbVTYU=; b=SPla2cCmrwB2l5Pb5jtSAGO9/64tC6uLUJFB+m4P+WLGkRkQLm9O4Vx4Upc9vNjggZDlcn17sMXgLv5UYz8KlmCZY7MHLPCsjMpYIsAGfutSJ+B3Y9KaJhCd9TkI7GKw/a+4EhqsbUtpIw3OljT+WlLYycmvlNiXNuBWcLoLbT8= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3785.eurprd04.prod.outlook.com (52.134.71.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.23; Wed, 9 Oct 2019 09:09:48 +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.2347.016; Wed, 9 Oct 2019 09:09:48 +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 V2] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Topic: [PATCH V2] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Index: AQHVfK0Yhw8grvoW2E2n3r70yUmdBKdSBrWAgAAAKnA= Date: Wed, 9 Oct 2019 09:09:48 +0000 Message-ID: References: <1570410959-32563-1-git-send-email-Anson.Huang@nxp.com> <20191009090043.4yq4l7iac3zgytnp@pengutronix.de> In-Reply-To: <20191009090043.4yq4l7iac3zgytnp@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: bcaaae6d-87b5-43ff-08ae-08d74c986f44 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0402MB3785:|DB3PR0402MB3785: 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: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(346002)(376002)(366004)(396003)(199004)(189003)(6916009)(6116002)(64756008)(256004)(26005)(74316002)(99286004)(66946007)(3846002)(186003)(71200400001)(305945005)(102836004)(7696005)(71190400001)(76176011)(6506007)(53546011)(66556008)(66476007)(66446008)(86362001)(81166006)(44832011)(316002)(8676002)(54906003)(14444005)(81156014)(476003)(446003)(11346002)(76116006)(7736002)(486006)(8936002)(25786009)(6246003)(478600001)(966005)(4326008)(229853002)(6436002)(66066001)(55016002)(9686003)(45080400002)(33656002)(6306002)(5660300002)(14454004)(52536014)(2906002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3785;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: zIXJpQSjq4xgNdVyaROOg7g5/lxIiDWnhH82PrNNwZIGoX5ZR3PkIUnCvbIc9rsur8WZvf9ER9najBHWtZvCZhATS002lS3Ty/ZAwnCVwRISRedvC9O+Mk9R1Ezvp5Kj/0n+0rAxFhjmEuDnbZLvRnwubtMfBz5B3jXfZvEseJsOU3Xew3FAfs/It0EsdgAx+rfFHJTNKpoi4lRF/UmI+JI/tdeuWZI0Fhk/ZsyFvtunbFf3g/pl+w3LRr8omwGB3SAKpXnrNZB0aO0k5CxRpeyfogB4FsNXfv6/ZJ5YZDPKFZf1QiA3PSZzg1NKQnHkVD023CusZuDW6p6GSaZA4LKWenHmdQPNb/1qixJ6yJ7fM5rIvHcD+Sv4twCOSMV4JrQ38DyTMv5sW3BkYQDnYbNsNS6qWoz8auJn45mZOX0= 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: bcaaae6d-87b5-43ff-08ae-08d74c986f44 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 09:09:48.1264 (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: fOQwInaRTlbWdukXLqSXQhgCeof7NucaJxE30xZefZzDgCTrf2B3crf8n6gIlF8pX83A+CcAgGr9C1XuNge8+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3785 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcmNvDQoNCj4gT24gMTktMTAtMDcgMDk6MTUsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+ IFRoZSBTQ1UgZmlybXdhcmUgZG9lcyBOT1QgYWx3YXlzIGhhdmUgcmV0dXJuIHZhbHVlIHN0b3Jl ZCBpbiBtZXNzYWdlDQo+ID4gaGVhZGVyJ3MgZnVuY3Rpb24gZWxlbWVudCBldmVuIHRoZSBBUEkg aGFzIHJlc3BvbnNlIGRhdGEsIHRob3NlDQo+ID4gc3BlY2lhbCBBUElzIGFyZSBkZWZpbmVkIGFz IHZvaWQgZnVuY3Rpb24gaW4gU0NVIGZpcm13YXJlLCBzbyB0aGV5DQo+ID4gc2hvdWxkIGJlIHRy ZWF0ZWQgYXMgcmV0dXJuIHN1Y2Nlc3MgYWx3YXlzLg0KPiA+DQo+ID4gU2lnbmVkLW9mZi1ieTog Q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