Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp719146ybz; Fri, 24 Apr 2020 08:09:37 -0700 (PDT) X-Google-Smtp-Source: APiQypKKSrdReuix1pDoFyKZLMawDD8uBGiN7mMA3AMSAfdyekZaPsZa9hZ4sA63f5zeRMVxeC6G X-Received: by 2002:aa7:d413:: with SMTP id z19mr7902288edq.80.1587740977747; Fri, 24 Apr 2020 08:09:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587740977; cv=pass; d=google.com; s=arc-20160816; b=pYfPbsrDfEqDr2wnNtYOEW9VcX9dyoxBs53nzUDR0NR0U58psTW7xEPpsUblhgClQI jHsmeJ6AxCWX8igJmSAZyS4gV6nOYZcJ8gE1Hib8kkGJCqm5qz6Os6gRK6AFC68jc8lz +ExTeC0WiduAYhvLqB1SytSnBuB1+BhtGYL7Jrd39NIEfJcvkBWEM8arLT1GbeHrDG1e HrqdGNGSFqvpraWc796nm8hFC1yShKOJyLLPGcV1kD6WPqTZPug0zfX9XY1w4mILV6Lb n64nwZx1k4Dyjt8+nGDELNZe0XU5gXXnTcPxz7/PaNSrA4Tk+aaRvkVayxhKlHwHZ7Mv YDKA== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=qCZbX2IomzgzvKyrCS43JV4KoOkOASN3ZpBMyGBfOY4=; b=o0aRP6zoS49P80C9s+mtbsAkGf6XflIFNxpwDhL8VS7GL47kop10pTaGj2R3LFhRIR EPDPYbPvQjcyZ5iSn+xuhfM3VEv9utgQU9gocVpNH9NptvFOiil8SNqKEAVbYrnrvxfH 5Av24/yJOY9Fo+EUIYKk5zo/OcRT9RopEnbKgMlpyj1JzDM8GWU0+1tbu5r/yeO172uC 5tL+zEQTu5lcdh+q9PCPNjq892Cy1PvaLAtgKSFcH44TxNFlZnQHqc3CreTbhVz0lTeW VdPgqPhU8+7/opCp26ygw/gQ42WSYjBVz6XMiGqm0kBHiVs3jQq7myMHSV1dpLSG5Uw0 FYSQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=81ayRhTc; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o14si3470525ejm.511.2020.04.24.08.09.03; Fri, 24 Apr 2020 08:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=81ayRhTc; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727920AbgDXPCN (ORCPT + 99 others); Fri, 24 Apr 2020 11:02:13 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:47940 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbgDXPCM (ORCPT ); Fri, 24 Apr 2020 11:02:12 -0400 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03OEuvh7028071; Fri, 24 Apr 2020 11:01:52 -0400 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2172.outbound.protection.outlook.com [104.47.59.172]) by mx0a-00128a01.pphosted.com with ESMTP id 30fxf6eg1r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Apr 2020 11:01:28 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cHDtQ4yoSnmnll7cQwMCvNiC22e0X7yZOcOPENnEMcPgSEROV4tnlGLTPOzRJLaaMwin3y9XuTNAJ5Nghcb1WFJPos/1qefiknnmAIhletAcXXbcHL7HrOM9IZf8t/Ckf7gsTIlSg4YhJsFUQH1GgZWhPA6vW9QZ/Wh6+1WwnYHVggEsSgRNzKR+wKp6lyAQGMfQeDZF12Mj2R9nAYmiARYA9lEQNR4KeSjxmGsxZMvBmYjK/UzjHgr3m9CE3mW5FWxXcG63pU1IggB/+kPvJ9yhv3ZJ3Rr1yT/7dxvjwcj3QzGCcooOB4dTkA08jToVRm7Utcq5y8sSDJV8SPsRXQ== 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=qCZbX2IomzgzvKyrCS43JV4KoOkOASN3ZpBMyGBfOY4=; b=LYuKvGII/aLWtIq7FWLmYoNI3TQhSoKtw2Dcqh6S9rGC2r6GrZtuo3Mmoo2yFZS1OcOU8BQ0qsuACU04RBoNg6GA8epMq1PlWcH+0TjyzKIAkn+cS31OV15f/s+DOGwb6pke8+ruxmQ1THlmXpLi78HEH68hByMfqdQP2o1aWj3jWGwwzJ484nneL3BVNpuNuJLm7vOgVMyi3LqQ4W//BMD99bR0i2YGCvtgieQDQpr6F7jsVs4sEUnH1t0w7SGlX5sdSubi+87eN+b9YjA+CWYAD6W12UjUZ/WM8pu3vC30RG0q6V+FfqC4DNU1F6H5vkK6mepOzKLWXswPUOZ+pQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analog.com; dmarc=pass action=none header.from=analog.com; dkim=pass header.d=analog.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qCZbX2IomzgzvKyrCS43JV4KoOkOASN3ZpBMyGBfOY4=; b=81ayRhTcPc2/hoJ6kkrnWseeDRXmG31TWd1jUGAEohBTiZvFOFoQwPjbdeqTIThyVPrHahOMEXBjSKOkACcYrTT1oe8ldxSjJYvFq9xBHAGSi7Q/2oUKk3kGx8pz2OgzbKnF8+YyLX9viZMlV+u1jyIDz60GZAP8ShwfwNqzATE= Received: from DM6PR03MB4411.namprd03.prod.outlook.com (2603:10b6:5:10f::14) by DM6PR03MB5178.namprd03.prod.outlook.com (2603:10b6:5:240::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Fri, 24 Apr 2020 15:01:26 +0000 Received: from DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::c47f:ceee:cfda:6a7f]) by DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::c47f:ceee:cfda:6a7f%3]) with mapi id 15.20.2937.020; Fri, 24 Apr 2020 15:01:26 +0000 From: "Ardelean, Alexandru" To: "lars@metafoo.de" , "linux-iio@vger.kernel.org" , "Bogdan, Dragos" , "pmeerw@pmeerw.net" , "knaack.h@gmx.de" , "colin.king@canonical.com" , "Hennerich, Michael" , "jic23@kernel.org" CC: "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH][next] iio: adc: ad7476: remove redundant null check on an array Thread-Topic: [PATCH][next] iio: adc: ad7476: remove redundant null check on an array Thread-Index: AQHWGjj1ltw2ltqHgkeNW0t7wHv4TaiIXgEA Date: Fri, 24 Apr 2020 15:01:26 +0000 Message-ID: References: <20200424130419.22940-1-colin.king@canonical.com> In-Reply-To: <20200424130419.22940-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [188.27.130.47] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7acce796-223d-4ac6-9ec8-08d7e8605cde x-ms-traffictypediagnostic: DM6PR03MB5178: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 03838E948C x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR03MB4411.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(136003)(376002)(346002)(39860400002)(396003)(366004)(86362001)(8936002)(186003)(110136005)(36756003)(66946007)(6506007)(76116006)(26005)(91956017)(2906002)(66476007)(6486002)(4326008)(478600001)(81156014)(8676002)(4744005)(71200400001)(2616005)(6512007)(316002)(66446008)(64756008)(54906003)(5660300002)(66556008)(921003);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: analog.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: M9PPFfZHVujVQ3t4XOPI5Mv096EAIIykmB08lo1fxqOcxRQOOpQfMWcxY9mQ96SnzjpLM3mAxYSPSN24CfB18txz7X9nWjX/+oQpmLr9rR/LvUqpapnPEb/wZIy82DDpKJkVgcUPzhQm/2jeScQQFnDcBtGuJNDmKvskzBbQ0bZs5G92fqgTShvzWDWWoxK2srIwYkxWEMxM/+dVQaD6LAqyiyf4FnHX3Kk2xB5/W5q+uHZDJMFphkks3RrbkZ6OjlWbVAvgtenV8+Am3XPGa0rKenA8P8htd9OipN+9PGa+jc6NVMwRRVJZXHk8R5PP8RYB5aDhCPoIcqQF5F6xQS/wKbUCNb6It7W+ir/TFaCB229vXyHzhAPWRmb+oeOAHnX1S93ROWtQ8y6il8jP8ZYivRRMs5DCbU9i26gNZjzniXYNjnUTsBPxuuriduB/TCzJ5LjrbI8IhAa0hREbKS8JtiTN+0BODD8i45pexCs= x-ms-exchange-antispam-messagedata: 8P8T2uVB6DrHOsxkgjEQl5cRvPXt1HHIVo7iWPxKQVyQAtviW1ZIxgzuetaRtDOtZByaATwIcqgsX+QF2Y5V1A6SoY12A4pgswfT6t8ToMjvWpnzdx+yBZtaUX4JUyCRDT91xcyhQXWeosCct0tE1Q== Content-Type: text/plain; charset="utf-8" Content-ID: <3E12146849D61B489196F3E4EF262CB0@namprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7acce796-223d-4ac6-9ec8-08d7e8605cde X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2020 15:01:26.7563 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: QhcqSPFSBsDffIVTo/3Fy9jNQgK5OEiYfom+4TjD59UvT70tkbSJ277dNP8f2qV/9ktize709edwlQqS4XNIP+0bV2K18RG7fNiw1uQ8wkU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB5178 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-24_08:2020-04-24,2020-04-24 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 suspectscore=0 bulkscore=0 impostorscore=0 mlxlogscore=999 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004240120 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTA0LTI0IGF0IDE0OjA0ICswMTAwLCBDb2xpbiBLaW5nIHdyb3RlOg0KPiBG cm9tOiBDb2xpbiBJYW4gS2luZyA8Y29saW4ua2luZ0BjYW5vbmljYWwuY29tPg0KPiANCj4gVGhl IG51bGwgY2hlY2sgb24gc3QtPmNoaXBfaW5mby0+Y29udnN0X2NoYW5uZWwgaXMgcmVkdW5kYW50 IGJlY2F1c2UNCj4gY29udnN0X2NoYW5uZWwgaXMgYSAyIGVsZW1lbnQgYXJyYXkgb2Ygc3RydWN0 IGlpb19jaGFuX3NwZWMgb2JqZWN0cw0KPiBhbmQgdGhpcyBjYW4gbmV2ZXIgYmUgbnVsbC4gRml4 IHRoaXMgYnkgcmVtb3ZpbmcgdGhlIG51bGwgY2hlY2suDQo+IA0KDQpSZXZpZXdlZC1ieTogQWxl eGFuZHJ1IEFyZGVsZWFuIDxhbGV4YW5kcnUuYXJkZWxlYW5AYW5hbG9nLmNvbT4NCg0KPiBBZGRy ZXNzZXMtQ292ZXJpdHk6ICgiQXJyYXkgY29tcGFyZWQgYWdhaW5zdCAwIikNCj4gU2lnbmVkLW9m Zi1ieTogQ29saW4gSWFuIEtpbmcgPGNvbGluLmtpbmdAY2Fub25pY2FsLmNvbT4NCj4gLS0tDQo+ ICBkcml2ZXJzL2lpby9hZGMvYWQ3NDc2LmMgfCAyICstDQo+ICAxIGZpbGUgY2hhbmdlZCwgMSBp bnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9kcml2ZXJzL2lp by9hZGMvYWQ3NDc2LmMgYi9kcml2ZXJzL2lpby9hZGMvYWQ3NDc2LmMNCj4gaW5kZXggZTk5ODRh MzhmYzRjLi40ZTgxNmQ3MTRhZDIgMTAwNjQ0DQo+IC0tLSBhL2RyaXZlcnMvaWlvL2FkYy9hZDc0 NzYuYw0KPiArKysgYi9kcml2ZXJzL2lpby9hZGMvYWQ3NDc2LmMNCj4gQEAgLTMwOSw3ICszMDks NyBAQCBzdGF0aWMgaW50IGFkNzQ3Nl9wcm9iZShzdHJ1Y3Qgc3BpX2RldmljZSAqc3BpKQ0KPiAg CWluZGlvX2Rldi0+bnVtX2NoYW5uZWxzID0gMjsNCj4gIAlpbmRpb19kZXYtPmluZm8gPSAmYWQ3 NDc2X2luZm87DQo+ICANCj4gLQlpZiAoc3QtPmNvbnZzdF9ncGlvICYmIHN0LT5jaGlwX2luZm8t PmNvbnZzdF9jaGFubmVsKQ0KPiArCWlmIChzdC0+Y29udnN0X2dwaW8pDQo+ICAJCWluZGlvX2Rl di0+Y2hhbm5lbHMgPSBzdC0+Y2hpcF9pbmZvLT5jb252c3RfY2hhbm5lbDsNCj4gIAkvKiBTZXR1 cCBkZWZhdWx0IG1lc3NhZ2UgKi8NCj4gIA0K