Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2951531rdb; Tue, 13 Feb 2024 02:12:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU2QKWMJROPVKklNExwkm2roawaN/8WXAYs7bHU40fCeWOBewjgMoHoN4mxHCVFSM+qtRYj04FjIJ5ISaQFzeqllFuaVjkgh5QsEuXsrA== X-Google-Smtp-Source: AGHT+IGM+0rEvPqETT8y3vSB0ms3LCER0I2YLgvmvhz5MjzxOem6TcMYIT4O1dDNCnSZYDH53b5h X-Received: by 2002:aa7:c510:0:b0:55e:ed35:ffce with SMTP id o16-20020aa7c510000000b0055eed35ffcemr6592914edq.37.1707819147608; Tue, 13 Feb 2024 02:12:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707819147; cv=pass; d=google.com; s=arc-20160816; b=b903pWcGe71NdSKYVtIUtDi3kTU921BD1feAYI22BmrTQo4F+SIBMN+bKiG84/Z9D6 aps9qo8M+84K83Ze+SexeZZ5UYv8e8AXIP53M0fNjCyte598MJ/b/fqk5AnWe48Uh4FH R7aFiLA8WbYT2Ns2i7KtnUgdd8eS4eMvIPhE23hbbiHEfDh9IvoyLORq5vVr+CnbhXu6 KVdBZOlSOY3Fs+JD48YqysJpj2J3olc6mRy1a8EWRb23fCLmW/jKcYLS9zmK4Wwc+Ey9 qR/+B6C2rJQ+/ED0YaKdbPMaOH9DVJRq+UefOm7jwGUg/i1Dr1Fa10pCjaaNlhgHvEDD wHoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=J3drZ6Qt2Ki6agqoK7iGolGZ4hbttdSpL6FPNcTPzJo=; fh=9i+ETHJbtk4DGkgZvKxQmi5K07IigCrA6tnFs3FCsvs=; b=Gd+aLyGA6F2pl78jv0CndEKppyfYaXVzU3EkXFKMaoWyuCysTqhupfMljhe2Yo2TOI PG6b66JBNaqTE7eXMms/z9HY2+QjKbuXuq1JA9KfEbT+eg/0eGVJWC2/NAOs5zqXVMFa KkSCpJQXJo0ylj8FYiYUsLwnuxGD87bEFqmO0ZZ0LeH8wt+aVirvd94t7e4mE9fEpvrC zm3Jn+q5zPhc8s+QFHcEduy6jg4rAczU5WGA8yoobuvtoAAviXe0zJ0APhFGHnn9J00O uhYi9W+4gD+H44VPLm4T5wpRMHnv1E6N0vnRUu7wWm2i6kkA6TBUS6+QUvBbaaHX6cyM sLuA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Lt1q5uIJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-63315-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=2; AJvYcCUp86wNGWuGYmXz/ZP/CCxOSCrvWfFqfOi3Wmc+oanyu0JBBHVflyWufd1ROuCXJKwbJQVuKG/WnWfThQd3AlHHFxKwppCx9DAaqOOmaQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n21-20020a509355000000b00561413f57d5si3596597eda.260.2024.02.13.02.12.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 02:12:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63315-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Lt1q5uIJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-63315-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63315-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 213211F21B5C for ; Tue, 13 Feb 2024 10:11:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F12BA22EF6; Tue, 13 Feb 2024 10:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Lt1q5uIJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="s2zWZYr2" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5B5A22638 for ; Tue, 13 Feb 2024 10:11:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707819078; cv=none; b=NbNGdrl7I/tNfom/HKJZ5tdyzeL0+GSLlquMTKbOk/wRt/uApVzr3km0q33TBq9Npz3HVYFHwIAr5ePXbZuSAtADlZcwe2cLn9jm7RuuN4zefHdpKls5E6NDVp71vu6UElRux7uuCDjvbksavm7M/oNHnHv/Mt/Z6diXeqQ4wcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707819078; c=relaxed/simple; bh=J3drZ6Qt2Ki6agqoK7iGolGZ4hbttdSpL6FPNcTPzJo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=aKUseJAMXLnGSsS7yGleZL3JLnMaJdhsy+o57RH/zfhSNshksfJe/HyIHeJCLDKWN0q/LyMCPiRTAkWFpByn9HZZNTeU7Al5dg28/H3DAeHb6p4+XS82gd7kX5hCv9VdDOUvzTv6QmeFcW3lo+bCGOG18rEAonR39v1FsgWx898= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Lt1q5uIJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=s2zWZYr2; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707819075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=J3drZ6Qt2Ki6agqoK7iGolGZ4hbttdSpL6FPNcTPzJo=; b=Lt1q5uIJPs671qL/FXBSrQpIp8DA8Zyoa6CLjutT1jf5P9gpFgKvF0MiHGDtTOy0yw6UmX lIAcfNIzgV0b8Oozpyow7ZDjGUhvNuIjkkegacgeMNT6XwuodFtCG+oWVysirJrANH/Z+a kvcjtKI410WvufbTf/JrgOqUqRZKjNxVmr1bO8Mx4SF10IjwJvTTPNi6SZSCKJkpCrKzV9 dTA6zQHoha46vPm3g+tUs38q0pqa4ADV7+zvCauJF8tHfQ7A3R4olcpgpe+rbSzu/jCkPq X4ppaNd8y1QXynlkNzOlVW9cc/71Mt2z6IkyUUYnt7biAYjGY/bxjHUT/yck6w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707819075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=J3drZ6Qt2Ki6agqoK7iGolGZ4hbttdSpL6FPNcTPzJo=; b=s2zWZYr2MxLRyIKZUuRAyWk/VZiGRt1s2L9bw8M/0G7X9QDSSaNZUfwIfGalouOXQ/cpNH ebs3SoTLnN85UJDg== To: Chen Jun , linux-kernel@vger.kernel.org Cc: xuqiang36@huawei.com, chenjun102@huawei.com Subject: Re: [PATCH] irqchip/mbigen: Fix incorrect null pointer check In-Reply-To: <20240129130003.18181-1-chenjun102@huawei.com> References: <20240129130003.18181-1-chenjun102@huawei.com> Date: Tue, 13 Feb 2024 11:11:14 +0100 Message-ID: <87zfw4hdx9.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Mon, Jan 29 2024 at 21:00, Chen Jun wrote: > bus_get_dev_root(&platform_bus_type) always returns NULL. > This makes mbigen_of_create_domain always return -ENODEV. > > Fixes: fea087fc291b ("irqchip/mbigen: move to use bus_get_dev_root()") Amazing that it took 9 month to figure that out ...