Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp8076433pxb; Fri, 19 Feb 2021 06:54:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQ2F05EzoQPLjpQZvLbGi3oiKkpStBcp6d0VxdCmb19MYrAqh3mqrtnzsLOpFhrIAYJHSf X-Received: by 2002:a17:906:2558:: with SMTP id j24mr6665004ejb.447.1613746469773; Fri, 19 Feb 2021 06:54:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613746469; cv=none; d=google.com; s=arc-20160816; b=zgYUdts+wqW6druHlEWWSgP2yZko4Yw5HF8trg0yHSfQxu/MnoSDl4gj3o2n3273TA KiVg1hyBITPLK90bR0hVHmOtkxY72uQbBvOPKseeI68VYd/CkuvSoAAv4o5L1+SyNZZk J1rbOAbEJHw3vUvJJ/9r/O2bWCIhVoEbBPuR81PxsZkJzTLlB0s5cMldFXgTzSG+Et6b urXPIeKp/VNeMKm9nZhe61unjgULwl14jB23oszNAxGE+WgpGfuwhRoL+j47ikA5VByU /7oURZS7tjVwS1IjUsVoQW5UBY9A/u7l5h5KofckWX4BuUZu4H6+QSVfSLqZ32J43h1j nkXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date; bh=qBkOedgVSkY3lRRkINp2QDL/nS16sQvGfMgV61T1PUA=; b=iEfd0aJIr6JIVYl5+rscqSqJaNvpCkp45ySumGTTffiynM/hF20y3HgpmUYXqPc4My Qa0v3veBPI/noaYtYhBDdlH9qAmcPFD5UVOFSGuRTNlVhhzUKczG7/KVin7NG+rHCCS4 olybeCNmpM+sKTJExV079doukFECXw9zU++N7aHsCHIVpIOjTLFb+9JAx7mzNVlGIkMm Vmxqn9GW2kd1lMNHz8PjH68g3jE/3VNffXozJXS3mLKReLYcvKBKlPIv70MS9Yqjkc8h sWEuKNEIaQMBnVYe4rU4rATP7NhwXs0b2NVGKNKReuM/RK5tvg2lId6NRr+3LX8GsaMw ai7w== ARC-Authentication-Results: i=1; mx.google.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 e13si5912614ejy.279.2021.02.19.06.54.06; Fri, 19 Feb 2021 06:54:29 -0800 (PST) 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; 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 S229594AbhBSOub (ORCPT + 99 others); Fri, 19 Feb 2021 09:50:31 -0500 Received: from smtp-out.xnet.cz ([178.217.244.18]:31330 "EHLO smtp-out.xnet.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbhBSOt5 (ORCPT ); Fri, 19 Feb 2021 09:49:57 -0500 Received: from meh.true.cz (meh.true.cz [108.61.167.218]) (Authenticated sender: petr@true.cz) by smtp-out.xnet.cz (Postfix) with ESMTPSA id 7F09A18404; Fri, 19 Feb 2021 15:49:08 +0100 (CET) Received: by meh.true.cz (OpenSMTPD) with ESMTP id 3ba7593b; Fri, 19 Feb 2021 15:48:50 +0100 (CET) Date: Fri, 19 Feb 2021 15:49:06 +0100 From: Petr =?utf-8?Q?=C5=A0tetiar?= To: Jonathan Cameron Cc: Tomasz Duszynski , Lars-Peter Clausen , Peter Meerwald-Stadler , stable@vger.kernel.org, Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: chemical: scd30: fix Oops due to missing parent device Message-ID: <20210219144906.GA28573@meh.true.cz> Reply-To: Petr =?utf-8?Q?=C5=A0tetiar?= References: <20210208223947.32344-1-ynezz@true.cz> <20210212191219.7b16abbb@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210212191219.7b16abbb@archlinux> X-PGP-Key: https://gist.githubusercontent.com/ynezz/477f6d7a1623a591b0806699f9fc8a27/raw/a0878b8ed17e56f36ebf9e06a6b888a2cd66281b/pgp-key.pub Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jonathan Cameron [2021-02-12 19:12:19]: Hi Jonathan, > > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.96+ #473 > > So, we moved this into the core a while back (to avoid exactly this sort of issue). > That change predates this introduction of this driver as it went in > in v5.8 sorry for the noise, I've missed that commit 8525df47b3d1 ("iio: core: fix/re-introduce back parent assignment"), thank you for the hint. > So I think you've hit an issue with a backport here to an earlier kernel? Indeed, I've backported it to 5.4.96 as you can see in the dmesg output above. I'll try to reproduce it again on 5.10 in the upcoming days. Cheers, Petr