Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9110597pxu; Mon, 28 Dec 2020 06:55:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJug5hQBi/+F/45p4yOiFk8oAcQGkwXqmyew53+cbnL5L8UP4EXH/g4h6kwkjlbubHP+2C X-Received: by 2002:a17:907:20cc:: with SMTP id qq12mr43872923ejb.316.1609167326476; Mon, 28 Dec 2020 06:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609167326; cv=none; d=google.com; s=arc-20160816; b=UoTr7FzR0IERtneAJhT38aQOl25G+OovEm8niubsEzLw0YOExFZIbVkhV9YJr46rjV IpBeWeBiFRntq0Rv3ihHtx1HusWovC/9awSrtyDwr39yqnzey9aRYyeCnXiclz+kCmC9 E209d9wbU2i8EVeNHlb7eruyzCToMgsl5AuzdHQYqRUIWVUisVJAXA26qNPWlN245K+c /KhwuJv86SuUESE6NGJ78Bl6SCbSfCaeMGfEReoFB4Zf8WMnGpZGwihUk9QYa3/84bw8 vgJ6uZ1CnqbpJdPO2KsLpZmIEWlm/wNfv/iRd0rMWkb6Slyyv+FIn8h1bbgoKj9Kqj5H nEzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pGfSreZVZfggzD6J48r4wXdNWF6ZFiH0HpSyUIrTwyU=; b=jHdP5B777qJ8FtCiTBadtD+KRas56rmIJE3KpLAxMo6HgSKw/qLs0TvbFlmvUy8U8e D9oWUJvh9vgWyJa3gxsGrfIsBJiByE0USJiaNxnZfncZ+JmAvXd+hxasaznELxDjDgbe GC00uFlubBJUvavlMSuVBJdsMY1v4le5ZG5x5DtbC2LGT7ELdVvQFbKimr9w8fwnD90L azTVw1zyndRFDXAbaX5Fn0DEECVwRjlOemP4aqvnt4swuNpmxpL0bmkzdLXZj75TfHRi yf0xnQrbrj/yeyWUOhoV3v2Vz9vtgFA++L3phKd4MDHuxU/azzbJKXrnuELD0YL9uiPF tkyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZJY8ZR5f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si20295743edr.325.2020.12.28.06.55.02; Mon, 28 Dec 2020 06:55:26 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZJY8ZR5f; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505338AbgL1Ovo (ORCPT + 99 others); Mon, 28 Dec 2020 09:51:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:54492 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502074AbgL1OTT (ORCPT ); Mon, 28 Dec 2020 09:19:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8F8B9224D2; Mon, 28 Dec 2020 14:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165119; bh=rUkhfTFhb6tWMh+zw3onwkkUEj9Ixzld6HoSrjqd8Y4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZJY8ZR5fcdYk89qZNyEG/rTQneeDq4m11isqR43glMEtRZeZDLbxh12CMtZXybcw6 OWpJDPtBeFU+lL8AZc/J2bMHZFCZRhFFlx9sr3j3lVjZb4BfFoYs0DeuLw1+QT+dzp R7fW+lWMoP2xDRpct4RnbMX/kqN+L+oRN/rGUwJo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lokesh Vutla , Marc Zyngier , Sasha Levin Subject: [PATCH 5.10 419/717] irqchip/ti-sci-inta: Fix printing of inta id on probe success Date: Mon, 28 Dec 2020 13:46:57 +0100 Message-Id: <20201228125041.035741124@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lokesh Vutla [ Upstream commit b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2 ] On a successful probe, the driver tries to print a success message with INTA device id. It uses pdev->id for printing the id but id is stored in inta->ti_sci_id. Fix it by correcting the dev_info parameter. Fixes: 5c4b585d2910 ("irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC") Signed-off-by: Lokesh Vutla Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20201102120614.11109-1-lokeshvutla@ti.com Signed-off-by: Sasha Levin --- drivers/irqchip/irq-ti-sci-inta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-ti-sci-inta.c b/drivers/irqchip/irq-ti-sci-inta.c index b2ab8db439d92..532d0ae172d9f 100644 --- a/drivers/irqchip/irq-ti-sci-inta.c +++ b/drivers/irqchip/irq-ti-sci-inta.c @@ -726,7 +726,7 @@ static int ti_sci_inta_irq_domain_probe(struct platform_device *pdev) INIT_LIST_HEAD(&inta->vint_list); mutex_init(&inta->vint_mutex); - dev_info(dev, "Interrupt Aggregator domain %d created\n", pdev->id); + dev_info(dev, "Interrupt Aggregator domain %d created\n", inta->ti_sci_id); return 0; } -- 2.27.0