Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2500332ybb; Sun, 12 Apr 2020 07:32:22 -0700 (PDT) X-Google-Smtp-Source: APiQypIXxV0rh79IUjkkYC85HcGIh1hyEy47YNkKlpCdkpSTx4Wnit3GMmiQLUbN2Ax+YL1+aUh1 X-Received: by 2002:ac8:46d1:: with SMTP id h17mr4750756qto.72.1586701941870; Sun, 12 Apr 2020 07:32:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586701941; cv=pass; d=google.com; s=arc-20160816; b=z8u8A0aDkARdvVC3mPP0z6QM1qr5dHyxS+zel4MYQEJUyodhWsg8cFA5flQwXdEf/Y JbZA48UO0rAwC5554gqOQH+koOOd3/WfzxQmcI9/NV7uXa7bTqt29gqGksEMvnDi5HSH 8LHxoUFnymjT1MRJEF8qxFAMdnLNkp2Eg9mtTeVutr5BXda3dSz2C+0TBaUrxIdIZRDv xzD7LUbB4gqwoDggOae4/BEpE1XcWxTAfEbhtV6yRto64m/LLngs01wM7AAJL9pn0qz8 sQ+33nvo/2HgjFS9Mh8t3C7tQWx9VL52onbKWaijkYo6NlX1JCS+TaBTqYYwEaiuq3xS Pl9w== 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=7Nkjvvp/yHPoO81zoCyb/pIShyxZQAV5i2tJ7JBiqYo=; b=F+4uurgU28RSY0ZJXKhHQrbwu7fuz/jHXHkkGnnUr05NWmcqqNNiCYgh9XP/8aZzOE Oi5zhmBPk8+tjck7SZmUpgSZX/Uqky0/XVKApyZjfGuJd0PaniK9yADf9qcRolLgGibh aFpvc25HBUsmNmN50XQvLumP9gB6rCdijHUf5Lehf7mzdy9tRTNfsvirAKzQwIxFzxx/ 7BygYB+YyfmSTjwMjf5CavfV6e4O/LYVFAziCazaB+2Gsem9hDtnxdTmfRU5NWKtmIjA tZNBeFLOjeCXV9IqT7maDoRkVPZsl2Nmx45nBY0PMhADldAFeQhbjQC48n1esT+zHvQW Y2Rw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=lfDIisaX; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d191si4906856qkb.268.2020.04.12.07.32.06; Sun, 12 Apr 2020 07:32:21 -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=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=lfDIisaX; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727018AbgDLOb2 (ORCPT + 99 others); Sun, 12 Apr 2020 10:31:28 -0400 Received: from mx0b-00128a01.pphosted.com ([148.163.139.77]:53710 "EHLO mx0b-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgDLOb2 (ORCPT ); Sun, 12 Apr 2020 10:31:28 -0400 Received: from pps.filterd (m0167091.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03CEQQP2016216; Sun, 12 Apr 2020 10:31:15 -0400 Received: from nam04-sn1-obe.outbound.protection.outlook.com (mail-sn1nam04lp2056.outbound.protection.outlook.com [104.47.44.56]) by mx0b-00128a01.pphosted.com with ESMTP id 30b7najdtf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 12 Apr 2020 10:31:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aZiLUxzdrf2maWyhtbjyidgv/xaJj6ZUayFLbDQjf8IdjufgHYS6vO15thZrAu7jmHDs1HTEUJ05DvTvuVywv2DaPxAxSQNW0OvFAs8WhV+8jYG4jCb4cYtox2VkW8ZZnHiuXi47roNoL7FXdnVPm8xv0JKBZApYyyXmbMuH63cD4r8f7Ll05QfoGZyruWGBosrZbSTnUI4FLQIeRis6IhaakMSx8lSoxtwOCo5GGc/bmF+yK4cJmLn+rvGPCoJpZhkT0VfUH3AcVRQ+jPYnbuq58Dc4+okuZfyl5b1yc/DUAXT5YPOxucGECN1THqWlnhFdyTDVBm2DuyyWT+Akiw== 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=7Nkjvvp/yHPoO81zoCyb/pIShyxZQAV5i2tJ7JBiqYo=; b=Xtbb7lc39D5XOWN/BUP2nHZP/FjohgOO3W4C0wz1LQOT5IYWt30a/LXgoJljv4I6K2HHP4CWOxSJp/W34FflMQQK1n3eKKAEvIyV/F1P16moAyI3sUGhEKLU/Zb52r5pdOp0nxBVOMXS3I/dbEZyt57OkgO+KF7xQn/CBP88CBrkdFiAQlB3Wq+cxKUlm3uTXmrnbH/HJzkVx+hrXQ5k9FfdnGM3oVjXHDYZvjVQanyM1i/Br+ePuVLStLqfFUBNnT/cEKPaWg8uq1DP6GUoWsgh3m/Cupmn22hq7Mq5R0AI3BS8rKdxl2Q9DVLxBw0eCCbcatBysQPWe8/CAE3G0Q== 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=7Nkjvvp/yHPoO81zoCyb/pIShyxZQAV5i2tJ7JBiqYo=; b=lfDIisaX26AxDPlTKok/QOW6CZ70MAi7WHDQN5S8/U6Mo7XPCtozsaE+PAdaNMd/jcHxBXnREvHghCt+4ltp5b4EjhcRzDtq6y5oPIGQOfYiyu9m9Z23n82zVzIty/8ihpaMUtt4Q2MRWylLYA+taTDnZSYd+rgnZUtf1Ut4Ntg= Received: from DM6PR03MB4411.namprd03.prod.outlook.com (2603:10b6:5:10f::14) by DM6PR03MB5321.namprd03.prod.outlook.com (2603:10b6:5:22a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.26; Sun, 12 Apr 2020 14:31:14 +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.2900.026; Sun, 12 Apr 2020 14:31:14 +0000 From: "Ardelean, Alexandru" To: "jic23@kernel.org" CC: "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" , "lars@metafoo.de" Subject: Re: [PATCH] iio: buffer: remove null-checks for 'indio_dev->info' Thread-Topic: [PATCH] iio: buffer: remove null-checks for 'indio_dev->info' Thread-Index: AQHWDOz/RJyL8IpUDk68pI+wZiSdc6h1gx0AgAASJoA= Date: Sun, 12 Apr 2020 14:31:14 +0000 Message-ID: <950bed7e142e7aa1cbd74fe15e560fe7d584af95.camel@analog.com> References: <20200407145918.6833-1-alexandru.ardelean@analog.com> <20200412143008.3fa722a9@archlinux> In-Reply-To: <20200412143008.3fa722a9@archlinux> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [188.27.135.58] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7b4a2278-4667-4c53-71e7-08d7deee2764 x-ms-traffictypediagnostic: DM6PR03MB5321: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0371762FE7 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)(366004)(39850400004)(376002)(346002)(396003)(6506007)(86362001)(6512007)(6486002)(478600001)(6916009)(81156014)(4326008)(186003)(26005)(36756003)(54906003)(316002)(8936002)(64756008)(66476007)(66446008)(66556008)(66946007)(8676002)(76116006)(91956017)(2906002)(2616005)(71200400001)(5660300002);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: hJZWX2JtTC8gxgbUvPUS0b13t9OuhTA4HduPAKddX1CTeAcjsdkkubU9PxkMl/3Kiavx0QPbyyUUK0NFQwArEPDxjrvjvC8ymbiw1htjAhuVA0aOWODa7JXt6OE3kf6ZE51sli29sx67d6lKzJgXN321N+wyhpLbTzIpZrjijzs0d7lnaimuj18P9eyNUv4fQMGsvoK63nz6SetHL2L6iB9N8+C8F6/GyDIwdwcpE2eE5ogPjuof6rmrm2kpDO3fBAFThKr4tZlga1NNLnjaXkJWllg2QmoSgN4/9eMCzP2W7+sOkVauYSMfeDgHjghNTpuNQ1VGuPHjY0S3rAVwb/1lKsqNzckgWuYoc3KzOEUxtGGwHdIKSUMFefTaQZKFIr1LXBY0l+hk19nAYAhdbL7/xyhyEgAu+WIMiUgsID/yjqNn5e6TTItQvhP9HtdK x-ms-exchange-antispam-messagedata: vVqk52vbnzszkegpeQ2yLZZ2dAnLNph3bJuZd0NCQCJ5d/1jVofy5Z2dgmADpkxtL+YVwtI9bgqZTZzGWPbvrmPHhTydILZ6OU0bs0q0W50mbaKPt6zik/qUIzrSPZfk4X7FfucUJbdF0K9bm8cAEA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <6E89C56DE5885747AA5D5C080D3E0223@namprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b4a2278-4667-4c53-71e7-08d7deee2764 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2020 14:31:14.0251 (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: ZWGN59LYZNbxAS9z0y0x6fsx3J+ZFmE+AnkYtEHFC6UvUBZYt7u63Y6iGxBs48cUUrg6ZWEpUUvSiMpJrqqf4mSrabESM8JM4RRZv90enKM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB5321 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-12_02:2020-04-11,2020-04-12 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 clxscore=1015 impostorscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004120131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: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