Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp684958ybz; Wed, 15 Apr 2020 16:40:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLlt3VNM1TxkbTar/5Hh8vOinExabXgNkrXjkUxVceqVw4GXx0FiUKAlEk8+kq6tu8PdC49 X-Received: by 2002:a05:6402:1d1c:: with SMTP id dg28mr25437465edb.135.1586994040390; Wed, 15 Apr 2020 16:40:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586994040; cv=pass; d=google.com; s=arc-20160816; b=KdBhtonRmiVtIdfEte+dWs2mGYJ0zKB//vU4SgpVxrdYqsnw9sNR2LkPLplpQmTfSe K8st878fyT64c1gThjhPyEB/uuND2CYa7jNuP8IF7O9VeqDsz/IIoyADHnp6GX113CAl dBOPdwCRQ0owRgz/brlwnOXTu6p14VZSSA6C7DV5IUhr0LqgBhH7mY6YPysIkZoIkElx bP2EAmZQTHbxAVU+ROXur460v2YOu8u6f07xq1fuxgdKuzS9iSJIm5D7MO7/i1RtqaMj C120Ull/GFh+JBNSjUWwesI2swlFzUuYgZoaLcKSPFD5KP+Nt9YfBeHvJpQaouwq+Ngg iFhQ== 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=S4ij0ax6vbddE8+jh7kk4mdfeOt0Xht8z7pR0/BFLio=; b=x0wqUGaqn2Dy88RB+RNK1PoJEjpsVZKOYjtasQmRhbxb/JTHOYmAjKFEMRJvRUrNQE bQWR2yK1QnWANwcIAPI8joAGZGXt0cEQDM0bb533mFHiAlw2kTqOvdr5IKIu48A0E5tx EPM9yp4zzxtou6NRt+vKIhnKMUEsCOnQFQAF70FFptRDb1OTL4Q39QMD5LMZxLoPrmaI STn6jitYUjZi/Upuy9oPTHi1cdFm1V07VXkyhRm7MT5fXDZiXanolQr/4lKhuuoojqN0 FwfmBj0uvWSDpWOQZvsH+bhS6DeKjEBcHgIFXeZN0sUoVrd2aitSBuaRLjxOlzNOFczT ze1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=BQr6qS1V; 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 kt5si6319789ejb.455.2020.04.15.16.40.16; Wed, 15 Apr 2020 16:40:40 -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=BQr6qS1V; 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 S2393449AbgDOFrW (ORCPT + 99 others); Wed, 15 Apr 2020 01:47:22 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:32338 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393419AbgDOFrT (ORCPT ); Wed, 15 Apr 2020 01:47:19 -0400 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03F5j7aB001179; Wed, 15 Apr 2020 01:47:16 -0400 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2176.outbound.protection.outlook.com [104.47.55.176]) by mx0a-00128a01.pphosted.com with ESMTP id 30dn7uh11n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Apr 2020 01:47:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FuzL6dlMOq2DoiPNbnnAH5Koxi/nU8/ps82RHnI7wE8NAO82Wi3ErF9SsNQBOhDHL9kRxFz9A4TnDebT4Ecw+LL2UYmypwwGADx1gRfYRRluWdZN2CfXiJh8PkOQrmYSJpC7rGDejFRpUBdjMuq3OGrr5e4FHrNLo3mtQNcgXkcxhmNb1sIUT+9ecH0DdJG6naMLqRam5kpMXARbDND5MN/yJoDOx8ccwxsOa9TYwGJ8A+91NvGNrJ0ZBBTPFZWmasN4eb7oJMjQdAQVSoahRgn0SKk9GUnkbD1aS8QmZ5kNDvwJ4F3PPDGqu2FC/GHjmLjWG8vp/BSVNSUm52MIlA== 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=S4ij0ax6vbddE8+jh7kk4mdfeOt0Xht8z7pR0/BFLio=; b=NLwp5ZJ6m2HOFIiYM2NKKw6ayE1aV+uLKdFtRAmhahHbb0UiTVHd2OE+ZvoULZZomu5OSFL+jLM1TKoyRpunnLch/nqx/nhvVhC2D94Bx22T9O/K7fhT4j/0nUgmoJVl2EL0XJJpRxMBwY6VfCpb5e05hLRjmCm9NefzYVZj0gKjCiRB3BU0gcdkMGn3YGQNNvzcEHSDKPwgAHOdd6F3teVyHdABjn1qY4V2S/KQRJF4v0eYc57pXWP41pfvnqEVvNReQ7mc89vTswJB0fOtl873+mGhH9dfsq8Fc6j0AILvuuiGNZXFmu1osVjDiBs50K2gO3FMoCOsAOub4UA/iA== 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=S4ij0ax6vbddE8+jh7kk4mdfeOt0Xht8z7pR0/BFLio=; b=BQr6qS1VmgEyHnaZX+RFiyP9lusOIrataJDiTc7RI3Eei0O+A0nr8Ya/V8LzQo4ZKx53K3YQ1MnEzeABf4R7t6ow8Ig6M8gOXGX37abgrfgJDGHKpMOVK8r/BFY/SHVNUY3AJxAsSDu0qiHGh29nfhoWchxxcNxyoRizgl8TxJU= Received: from DM6PR03MB4411.namprd03.prod.outlook.com (2603:10b6:5:10f::14) by DM6PR03MB4412.namprd03.prod.outlook.com (2603:10b6:5:107::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.28; Wed, 15 Apr 2020 05:47: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.2921.024; Wed, 15 Apr 2020 05:47:14 +0000 From: "Ardelean, Alexandru" To: "jeremyfertic@gmail.com" CC: "Tachici, Alexandru" , "linux-kernel@vger.kernel.org" , "linux-iio@vger.kernel.org" Subject: Re: [PATCH v3 1/2] iio: adc: ad7192: fix null pointer de-reference crash during probe Thread-Topic: [PATCH v3 1/2] iio: adc: ad7192: fix null pointer de-reference crash during probe Thread-Index: AQHWEWxdRyazMz4LQE6U/VDj6V8oHKh3nLqAgAIUJQA= Date: Wed, 15 Apr 2020 05:47:14 +0000 Message-ID: References: <20200413082044.81101-1-alexandru.ardelean@analog.com> <20200413220631.GA4884@r2700x.localdomain> In-Reply-To: <20200413220631.GA4884@r2700x.localdomain> 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: df818634-d943-4a45-f911-08d7e100731c x-ms-traffictypediagnostic: DM6PR03MB4412: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2089; x-forefront-prvs: 0374433C81 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)(396003)(346002)(39860400002)(376002)(366004)(136003)(26005)(4326008)(6486002)(8936002)(86362001)(2616005)(5660300002)(316002)(2906002)(36756003)(186003)(6512007)(66476007)(8676002)(91956017)(81156014)(6506007)(54906003)(6916009)(66556008)(71200400001)(478600001)(66446008)(66946007)(76116006)(64756008);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: bVoIrwslwo8THPD1CaN8F/AVNeSvOmJkqc075enIDKDo1N6wfHKcoJaglkfamMAgyirlopwnF6Sq+E6TSXt8kmMmaMjRPm4cKjaHEQtdnr2YoTHGheUsOdWR4dDQ4YBBgnAsD0PRlC2Ee8uzdqS+DkY9EUBPoEagw2OGj8/tKDMwHYXpAQ+Beq/Y+9KDE1nmmZEwvk31roRDFN8Bsh+JibQCORqkWyRseJ7c0UXmLn0m3U95Uz2U2WcFL3rsejzHWhUvdo5kjlHACUC8EuI9UFwrHnLsFBvG5MMLQi5mC6dzSVh+2UbLWO6WDLIstzeVhTjRwG5WYqBI2qDUUUaZvJl57j57B35KMcMElT6PiLuzQIDCVtQyl9KZ3Zl6/tUs85X0o5+uaS/oYGLi2yiNRLNEGtq38K+v4Q5PskTr8v+9rllNXhwNf7EsY4qDTfnk x-ms-exchange-antispam-messagedata: nIncsnDE5Hp8DQPnhnv/SodPD6stIrAEu14V+UarN92BU1GAXyPtjIQnpbQu2IGVmJvDfTexH54Vjg8jX6VTK3V2suMErOIq5QzbTh69Yt60YVl1A6BA8/Gr2uwxhhB3olFTgLAlFIbo9CJi+tXgjQ== Content-Type: text/plain; charset="utf-8" Content-ID: <4637A7607709D94CB807592B8D955FDB@namprd03.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-Network-Message-Id: df818634-d943-4a45-f911-08d7e100731c X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2020 05:47:14.1643 (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: JPrGmczFJVlAOsngRcjZ27J6k3AxdfMEW4ZSIqHiGhNr5Q9Q7YZsiWKmwzBBszGZlsLNsOi1evWEqQ8tc8+hn4XSpqZy++85dHP1kKyEJNE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB4412 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-15_01:2020-04-14,2020-04-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 clxscore=1011 phishscore=0 impostorscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004150043 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIw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