Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8374513rwp; Wed, 19 Jul 2023 08:58:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlHr2GTeuGEo06YBIfFmP8zmAvqyU61S8eUfN4aT1ykoTDXD/aTxCWOhzSPfm9Ked/jZS6Mw X-Received: by 2002:a05:6a00:179f:b0:66a:5466:25bd with SMTP id s31-20020a056a00179f00b0066a546625bdmr3517854pfg.15.1689782298300; Wed, 19 Jul 2023 08:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689782298; cv=none; d=google.com; s=arc-20160816; b=Xnqm0P1sOOj146RYiWLrorC7nwThVKEHlKP3ZlPdUcxyrPF/hUa05BhpLpqDnL+B+g NMpc56WZSQteUFHPh+3lpdvbcuHW/fmfMrx+RCe5FD/7jUdef6kdCgElfVFAzpxFAeH4 z6uli5Lv60CRHf862+VW0YHH6aG2iBus8++5ZyuApUTL/M67iHkmbHTAmp+cAW+46pU2 BZ1meRuo/WoPtGYa7YwwS5tK5x9Me1f7J/ZN99MIqrTkOvcnk+/gCExs/ufHK/qwYbZ8 6PdmJpyCG4LLMiS+WBagCyeYjqo7jJPV0e+Dva6bq2aGaUoP6A64e01wiMR8vFAmNRrX hgXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3RP3C3jUMGZ7ZoI3/tquvEYTxxWDuizUhm6G9WSI/0s=; fh=7FP2fq6E2pF8GKwToLc295yvXVzOrmi5YSPyf/Jsd7E=; b=WQ8dgPyBq0bmcUzwNmVtg4mtfuMlFdYg6gOyBT2XmLjOAIFHqQIDhoGqP2zxtfPs2X 4odqwk8PmEJRCEW/GkRgQ2XpOsWDNrlfjQeEG+0QvrlB/lB4p/kLLcF/GmBp5BVxVEWW j2M8EsqSeV4rv0kxniUOuGx8u1YyTc/sFPBzq85DYhXDThrUAJFbJOIQjbhqUnskCFpP YNtVTHjqhGrUTW99Tj0D8jkX2mtQxC0VnjYTRLXwe9FPRK/0MMMylTAzJ2Q7Jft+rDW8 aQvfUs2tpMU5hJhFnAfIMl1c/Zz855HLIn7BPb/9saynKcaXi7xw8M0otbz7+dx20J18 PZlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d6r1PddS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 12-20020a630f4c000000b0055c7d9edbc5si3710385pgp.174.2023.07.19.08.58.05; Wed, 19 Jul 2023 08:58:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d6r1PddS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231691AbjGSP2G (ORCPT + 99 others); Wed, 19 Jul 2023 11:28:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbjGSP14 (ORCPT ); Wed, 19 Jul 2023 11:27:56 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C05BF12F; Wed, 19 Jul 2023 08:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689780469; x=1721316469; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=giYj7E79SFC5uRRCOZ1jC9xYfhxyjyPap8ZnCxguQFA=; b=d6r1PddSr5df82hHa+p1ElWwwfZ9gIogRalyImE7Mpahgy1HGOBYAELA V/UxAT6Webd3G43OOdx+VJ0o1dkxWtixeux0QPoY5oXNK1Y/X7i5lVOAd XMR2RQhMR5Z+hlsaNR+0Xo2eUJsc4lVoRdedXkCpVL41EbyYVHu+KvIiC xrWqTaZ95JAL+bUQGyd7noDwrIMWbpQnhGsh7PSSICw508ZN7c7wxsqQ/ 7khOEz9raqEMul+4o3riO/4uocJLBdJZy3DKguKMIdXwQ4p/oFo0C/bnq QvIpluYoRGglBeybsT2CfrwHjl4C9P+iTTpa0VrVsq9tpHU3cT2HJAgjZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="351362464" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="351362464" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 08:27:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="753744424" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="753744424" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga008.jf.intel.com with ESMTP; 19 Jul 2023 08:27:47 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qM95d-00GAUI-2l; Wed, 19 Jul 2023 18:27:45 +0300 Date: Wed, 19 Jul 2023 18:27:45 +0300 From: Andy Shevchenko To: Milan Zamazal Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Nuno =?iso-8859-1?Q?S=E1?= Subject: Re: [PATCH v3] iio: core: Prevent invalid memory access when there is no parent Message-ID: References: <20230719083208.88149-1-mzamazal@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230719083208.88149-1-mzamazal@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 19, 2023 at 10:32:08AM +0200, Milan Zamazal wrote: > Changes in v3: > - The call trace in the commit message reduced to the minimum lines > needed to explain the problem. Precisely, that deserves my tag which I already had given :-) Thank you! -- With Best Regards, Andy Shevchenko