Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2368937imu; Thu, 24 Jan 2019 11:32:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN6v/c0UWTrb1bs+5JaFCI4U24fFjxoBY3vpVMC6vYsyNxhh+eItoHWE+A2IEvpHREkxv3/J X-Received: by 2002:a63:990a:: with SMTP id d10mr7149681pge.279.1548358326782; Thu, 24 Jan 2019 11:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548358326; cv=none; d=google.com; s=arc-20160816; b=ek5U9mDXzvrKlOUM8pW5iRo6MDSJJ/bY15ItSD7TvNWvbGACC4EoDqtlS2/orwxzgt wwJHhR5ocG5OPWzGbRTaCEFedeWj2Xu44LQe36Ub+ctvYu+Ifa/Slm9s+Sgukie2pp67 LypTyXbuu1dVUXahjzhlqCbPou5jDnilFIx791OYlsgbe68myv2+m6s50ul2o2rcshao ApB8qrTJCsfTPOSqL/NB4rjyT7mw4lfCIx/GRi8QuKt4EEMvq4KYScHlUXCeP9VNA2Y9 OjCi5+UenGIcdCInSWtXtFQNrBUj9JoMJ+sQuDPaJGnx2yJH53u7EqKYm+HnI1aKdw7l O4ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :dkim-signature; bh=zVqqywUjfqqxYXKktcOEU53QvoIsBoxXnyADkQa5rzE=; b=p2vW7jJ4m4U+Lh1tkAia2RsnYDC9p3EF2r6CPbc7e9RGJ7/hJXcD5345G2gPJJ8OKl X/u75gDJjw7UQt0fLzH1y4+LkI4/Aq4a/FnYCH8w6iY59VmUmfXQBNvp+3yJNwbHrHCV k1uroOn7vWVOCUNIxQH5vVUpFuwqd3UMQefxexkDsAHObbYhBS+j0NcS4DC4kx3wtuQf eA1PTn3IxPD4Mwy0Dr9KgCUOv47vBKAAxSg8YI+yAg/1zG3LNQrB2u/GYzbG3jtawL3U 69/tRwknWjQJdqIUnyA/hJuz/qN8VUPr17B+WdVRxuu+LmNPaDT98B4y3opYqnTirEhy nvqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=hEfcXxDn; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=YmTTGnou; 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si23918328pln.128.2019.01.24.11.31.49; Thu, 24 Jan 2019 11:32:06 -0800 (PST) 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=@fb.com header.s=facebook header.b=hEfcXxDn; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=YmTTGnou; 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731251AbfAXT3n (ORCPT + 99 others); Thu, 24 Jan 2019 14:29:43 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:40530 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731237AbfAXT3l (ORCPT ); Thu, 24 Jan 2019 14:29:41 -0500 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0OJSfuu005760; Thu, 24 Jan 2019 11:29:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=zVqqywUjfqqxYXKktcOEU53QvoIsBoxXnyADkQa5rzE=; b=hEfcXxDnmnTieHnKGtppzrK5qoi6CCztICXYHVw5NYkYoyhBFBVUcD1te3BYvoCKaKDe zzevCAgxKvirz3nCuHKPi21zKVkvkyMslornabuyzA11N5ODBA3ku+9HC9g1Keqnds78 R4vJeg3gxx1rfDqxNbCwkyzmVNCx0fmzMc0= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2q7jvcr5ae-19 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 24 Jan 2019 11:29:20 -0800 Received: from prn-hub04.TheFacebook.com (2620:10d:c081:35::128) by prn-hub05.TheFacebook.com (2620:10d:c081:35::129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3; Thu, 24 Jan 2019 11:29:17 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1531.3 via Frontend Transport; Thu, 24 Jan 2019 11:29:17 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zVqqywUjfqqxYXKktcOEU53QvoIsBoxXnyADkQa5rzE=; b=YmTTGnouYcQwnZep95O3hjTWFPbL0oAeUpbczvs6aKHKB+9/Pw5tzM/Msuj4MZXXbK1ZnlddWhLivI13P0y3F+j2eoSYyhdbP3rLrukG9tt4SCcKv2dtbKvdKSuvdeo932d5l4u7FLvxF3lQ+pIURtnAqY+QvWOBYUUZ9TtZu0M= Received: from CY4PR15MB1269.namprd15.prod.outlook.com (10.172.180.139) by CY4PR15MB1288.namprd15.prod.outlook.com (10.172.181.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.16; Thu, 24 Jan 2019 19:29:16 +0000 Received: from CY4PR15MB1269.namprd15.prod.outlook.com ([fe80::b4e4:1e1f:8c5d:9a8c]) by CY4PR15MB1269.namprd15.prod.outlook.com ([fe80::b4e4:1e1f:8c5d:9a8c%4]) with mapi id 15.20.1537.031; Thu, 24 Jan 2019 19:29:16 +0000 From: Vijay Khemka To: Greg Kroah-Hartman , Andrew Jeffery CC: Arnd Bergmann , Joel Stanley , "Andrew Jeffery" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "openbmc @ lists . ozlabs . org" Subject: Re: [PATCH] misc: aspeed-lpc-ctrl: Correct return values Thread-Topic: [PATCH] misc: aspeed-lpc-ctrl: Correct return values Thread-Index: AQHUs3BeMI31TwUu10WDx7+uo1I7z6W+EyAAgAA2EYA= Date: Thu, 24 Jan 2019 19:29:16 +0000 Message-ID: <13C13AE8-63A4-4002-9E0D-70276C529448@fb.com> References: <20190123230634.1815021-1-vijaykhemka@fb.com> <20190124081544.GA1649@kroah.com> In-Reply-To: <20190124081544.GA1649@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2620:10d:c090:200::4:af34] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR15MB1288;20:3grAI8LHtLCKBuLgzrIuY3USvTLC+/CmFD2igFHAZgBebzT8pyF5cBWcNEvfTzqJ1DdddtiH76g+nC1tiEtba8YzHAovzBSQErtCbKvLuJo4fCPHRnuS3wBPBCbCm3rSpCPGKcvj7y06ouu7oQl+dHyEc/MvDx74GVZSdTfkAZA= x-ms-office365-filtering-correlation-id: a8aec6f4-d331-433f-00aa-08d682323a92 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600110)(711020)(4605077)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:CY4PR15MB1288; x-ms-traffictypediagnostic: CY4PR15MB1288: x-microsoft-antispam-prvs: x-forefront-prvs: 0927AA37C7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(366004)(136003)(39860400002)(396003)(199004)(189003)(316002)(6512007)(110136005)(53936002)(305945005)(83716004)(7736002)(6246003)(2906002)(68736007)(33656002)(6506007)(54906003)(97736004)(76176011)(86362001)(102836004)(99286004)(256004)(14454004)(46003)(105586002)(486006)(106356001)(446003)(2616005)(476003)(11346002)(478600001)(6116002)(8676002)(36756003)(6486002)(71200400001)(25786009)(8936002)(81156014)(81166006)(4326008)(229853002)(6436002)(82746002)(71190400001)(186003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR15MB1288;H:CY4PR15MB1269.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mC6769IUo87Dw6Tno3bje/Tv5Ma0rlfe5chxk+Rq6mmWR7AuJDTfYUkjopxNAS7JeFrQVjET0UNSTiTuGnePtrG/tTo8MQm9J2DPxmaLnKdPHQau3aJU6nkwgDQdWxaFxq/+5AlcpPMqpOK4lSlGPA0aMwo6Q28BVDhPAW1FzzmQV2Gsm7QbkvP3rRkaf3SURvT6+cgWvDGD22KPzs6vu8Eeqp4Tq7wymPTl7UhpWWkUlIWJcBzXgDYpmK5q30e6kNtoPfwbej4uWz/NtrWD+cKclGeM994A3039/8qs6ZXgDIJvb0Xr6r2ZvUQxNwOEy91ftTrAr1ef//9ZG0LwOmG5g2VQvrSNG7emSheu7OCe+PMHRV9wsFkEQR9c4M4nowF/UZlQGuSrtAuWxjrnb0WAkoPAfyNQGAA47RHJ9zM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <810BF40483D70F48A818ADB8CC69353E@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a8aec6f4-d331-433f-00aa-08d682323a92 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2019 19:29:16.0563 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR15MB1288 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-24_11:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCu+7v09uIDEvMjQvMTksIDEyOjE2IEFNLCAiR3JlZyBLcm9haC1IYXJ0bWFuIiA8Z3JlZ2to QGxpbnV4Zm91bmRhdGlvbi5vcmc+IHdyb3RlOg0KDQogICAgT24gV2VkLCBKYW4gMjMsIDIwMTkg YXQgMDM6MDY6MzRQTSAtMDgwMCwgVmlqYXkgS2hlbWthIHdyb3RlOg0KICAgID4gQ29ycmVjdGVk IHNvbWUgb2YgcmV0dXJuIHZhbHVlcyB3aXRoIGFwcHJvcHJpYXRlIG1lYW5pbmdzLg0KICAgID4g DQogICAgPiBTaWduZWQtb2ZmLWJ5OiBWaWpheSBLaGVta2EgPHZpamF5a2hlbWthQGZiLmNvbT4N CiAgICA+IC0tLQ0KICAgID4gIGRyaXZlcnMvbWlzYy9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