Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2936351rdb; Tue, 13 Feb 2024 01:33:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUA/gj6tXgvewNMakEsUCDW7mAqS4Hwl5Xqkug9p1SRjNfAY41B+V20srIGDZQdRWNdevBw7u0pXi4yJqNEm5hvrTvaBS1JHuccoFW8Lw== X-Google-Smtp-Source: AGHT+IG5pSnEpeEgvx0NIbudsc8i7vLIOHKUKd9b7Bon5+iFqYk+1Q9vUPp+zuhivLPrMHP3XjyZ X-Received: by 2002:a05:6a20:2d13:b0:19e:ac58:7b0d with SMTP id g19-20020a056a202d1300b0019eac587b0dmr7173094pzl.5.1707816782593; Tue, 13 Feb 2024 01:33:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707816782; cv=pass; d=google.com; s=arc-20160816; b=H0TCYCtk2jemDn8ykN4A8nAXlEmqsKYlMfOLMRP9/kb58nkm3IOiCYSxQWAL9SHfRF uOa+IscZOh67YFWrjHlckiI6J6C0AH4UDkP6rrk390RGaWEXz38HW/rlUnc7mdZ6FM61 IGR90RKW4TWVpN5fMmJO2d5ZUvHmCPReKLbKwYvmtqBpwU584LN0gGrvNMYBBZd3v9Sk JhSQCrc8tWb12vso4XxF4tcAgJf9yETZa9u/NLFZRXaEixl0GoRY53dbJs7fbrEVzsWQ Ru+fGgm3xXmk84//AE1LQuFSHo6TwparAcXTmdWp4DRBYBd0eTnVDQl8To4yMAGBnUyU oICA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=QSw1AsCmUhErrFt6VpEvcbmC0TKHggFh8fbZdrLCHV0=; fh=RXlt7dRKSUX2CIADdbfLJlW14JOVidg90L4m9k35ufw=; b=fRiwAsEZCFeQU9lvgVCwte8H1S6mRTsAvW1tgnVbb5N4B2QoQdZS/Olb4B2uDOHK2l cbVBIezXSeSxcEbP5h+fTA3LHJD77tsoBcq1IOTtxKOTuc4BOffkXUkPb9Ulrp1d6DJI rrEAsZIS+EUQGVAF9qmxspFLO1Mk3HoYR9n0MOubBRRqsyRCtH4u54teQB8eCSX8ArhM oux7FHZmQJDg8NLjaJg415QaNXDTwFgMnaGd4uEReZv5L9TxHzJ+Um864n/skVNuo0Bh LyL+HT6V98xWhV8pP9PKCxbMRjPlKfbV/tSZtaueQqW2v6m05NZM4P3LMiKdSqCFiUrx BNcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ydy0EgoC; 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-63203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63203-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; AJvYcCXyAjVkNijq8QhXRw/BPZ7fzGiRMtWU70nF23ZTodggVWnquXlXN0qbwMTOl5AE2GAsr+qvDewAzVAkZaMvKqcRnfVpA5Z5ajIi8DrsSg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z11-20020a170902d54b00b001d8da1c6933si1798640plf.58.2024.02.13.01.33.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 01:33:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ydy0EgoC; 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-63203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63203-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8F36728766A for ; Tue, 13 Feb 2024 09:32:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F23C225A9; Tue, 13 Feb 2024 09:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Ydy0EgoC"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="P/SS7Urd" 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 BC9801755C; Tue, 13 Feb 2024 09:31:31 +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=1707816693; cv=none; b=KzuaKBqJGi9PpZxNr7+tAIA2HkjHC4XGN8mf0hpwtMAf/7fJ696Qj+1AEmJ8S2zUl8lCW6ikeRqUVhN7JI/UJ2d2ZMBHzcR3EhLaBTQgizkvOq1wtPvzd0psSZ9uHbJlBpqGEdbK58SiSNsI1xvnUNjHD+9mZWn6YHuI7MVlyCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707816693; c=relaxed/simple; bh=s2RfzRg7gU4z0m5YqtLCPpWakTha0o03sv66MfunOb8=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=LHyZY1b9H3/kybTbCQ6g7/Cx3N7bKpcCft/0YuMs/r5KVUl8qxxdE41dbzR7xVlsPPYfrtMWlhdEXNFh2RN2rDLNqKttFtKQpY5zVD1I3wWs9P/b4/JIej7nwFZkubrALLaDnMKCtKsR3vvPkIv9/h1DCFAQ3zgz+g3CAmP0t+o= 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=Ydy0EgoC; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=P/SS7Urd; 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 Date: Tue, 13 Feb 2024 09:31:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1707816689; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QSw1AsCmUhErrFt6VpEvcbmC0TKHggFh8fbZdrLCHV0=; b=Ydy0EgoCqxYqqNM3KY4hxYd42DGyzIkdSS+ZlswAZTjEoZk4XplQyvtrT11DWk9Rr0Luxg i+kRxC+euCFxaYkr5Y+J06bZ75wm9mSjExi+WAalga86jihHaxSubQ3Mlp8kp53o5slITk YTLwYJeENPS3akTXoYxeJjF+ZGnHgEiC8nf5claEsHfKjAxDzvgTkjeJ4+DmsECr6hMO3D WZoN3KxOBf9g0h1RCC1Wf9XknkAC+l2fPmzk4pmpEjcuUNfsoyDTDgFu7i5ugl9pWgRyqL ovJ35f+g4mOgU62NKSr4/Qrz71izDeEunT6fXTFl+514GF5PmVkaaDbJ0BMTCw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1707816689; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QSw1AsCmUhErrFt6VpEvcbmC0TKHggFh8fbZdrLCHV0=; b=P/SS7UrdCA2j0Wl/3HX8qsaek4DTPEziYD3cDgLhq6VHqrsthda75f1dhB0diCMZ+kwE0s mdbWXMYwvqCZ0rAw== From: "tip-bot2 for Bibo Mao" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/urgent] irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc() Cc: Bibo Mao , Thomas Gleixner , Huacai Chen , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20240130082722.2912576-2-maobibo@loongson.cn> References: <20240130082722.2912576-2-maobibo@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170781668902.398.16211929501605584217.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the irq/urgent branch of tip: Commit-ID: f1c2765c6afcd1f71f76ed8c9bf94acedab4cecb Gitweb: https://git.kernel.org/tip/f1c2765c6afcd1f71f76ed8c9bf94acedab4cecb Author: Bibo Mao AuthorDate: Tue, 30 Jan 2024 16:27:20 +08:00 Committer: Thomas Gleixner CommitterDate: Tue, 13 Feb 2024 10:26:15 +01:00 irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc() eiointc_domain_alloc() uses struct eiointc, which is not defined, for a pointer. Older compilers treat that as a forward declaration and due to assignment of a void pointer there is no warning emitted. As the variable is then handed in as a void pointer argument to irq_domain_set_info() the code is functional. Use struct eiointc_priv instead. [ tglx: Rewrote changelog ] Fixes: dd281e1a1a93 ("irqchip: Add Loongson Extended I/O interrupt controller support") Signed-off-by: Bibo Mao Signed-off-by: Thomas Gleixner Acked-by: Huacai Chen Link: https://lore.kernel.org/r/20240130082722.2912576-2-maobibo@loongson.cn --- drivers/irqchip/irq-loongson-eiointc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-loongson-eiointc.c b/drivers/irqchip/irq-loongson-eiointc.c index 1623cd7..b3736bd 100644 --- a/drivers/irqchip/irq-loongson-eiointc.c +++ b/drivers/irqchip/irq-loongson-eiointc.c @@ -241,7 +241,7 @@ static int eiointc_domain_alloc(struct irq_domain *domain, unsigned int virq, int ret; unsigned int i, type; unsigned long hwirq = 0; - struct eiointc *priv = domain->host_data; + struct eiointc_priv *priv = domain->host_data; ret = irq_domain_translate_onecell(domain, arg, &hwirq, &type); if (ret)