From patchwork Thu Jan 25 11:36:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: maobibo X-Patchwork-Id: 192034 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1575889dyi; Thu, 25 Jan 2024 03:40:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8DoT7afjAwV81mYdj5hpnXA5RW9UL4aRf0vrQX/BHIHjud70agTNKCc0k2ynk9hemoT7V X-Received: by 2002:a05:6402:60e:b0:55c:77df:e074 with SMTP id n14-20020a056402060e00b0055c77dfe074mr557569edv.0.1706182803606; Thu, 25 Jan 2024 03:40:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706182803; cv=pass; d=google.com; s=arc-20160816; b=0tF9aZjQTZxprWus3n7+26W56M6Exei84e7IBaR3IkOIdRGxLS/SO7BnJCvpWTeBBz xr7T/uGE2DIa0BLlg559Lei5W4ucpl/AUC10nliqjbruDCxxkgkrENq+jVSWTQymm/+f Mnc6EwqeQ+CQfIhUCjtExj7YyZCIBGU+x10ErlCPQ1C37tjes8d7nRnM6A8Mi6d7mAD0 U+8i7RzIxGZtDpu7aFVVKLmIBHlvzQrptoIKdYUEfrl6W07mLzxpPXwZNhWRVzaiu4Eo qAy8+jStWV3qRxVFJN1OH5M8z+HfL207VFa+G8tQTBnwKbMVuwz58IWomyPLPxcZoTuq +Gvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=oom6nrg5yum3JETEdRKPo6ImeRcvHr/6WqRfhUAdMO8=; fh=o7Gfiql/MweqUti2Y09w/Grk73onhuvKr73ezM6Lw4o=; b=W6N005DqiK2yrt2MTO8C6ykHHij7LyyOZ6p8kfB4Dpx+OgL42WWqVLFk8CC/2pLSb2 9kagdNbRF6x3lmIx1R4qYlBXt8x2m9T1BSzinJlrR5+ti/IKe621IushIO5E1MoqVTbW HmWaYuUqqLV5/dcGRKifrO88abTZ6WOWaSU+E3Ul8cBv6yHymSmZ+L2yjE2lib9mvPHZ vK7KkwmCLhuKeZ/Y4S8042EVqa4t5boErvZZA7aWRPb7JAaGH/4nmvhmEMCPl38bMYBV hov47iOua1/e/kuVLrFOikR10A/WL3F0qeJZc/Mnbhhgym0O0Dclptyy403qVObKp/J2 x88w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-38531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38531-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fi14-20020a056402550e00b00557a9932fb7si14681535edb.150.2024.01.25.03.40.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 03:40:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-38531-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38531-ouuuleilei=gmail.com@vger.kernel.org" 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 3A8871F26024 for ; Thu, 25 Jan 2024 11:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C1B756756; Thu, 25 Jan 2024 11:36:40 +0000 (UTC) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1D17E50A71; Thu, 25 Jan 2024 11:36:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.242.206.163 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706182598; cv=none; b=R0cjBgUQNBxEkggRrJ38PK0QYR9FBYXNunBi0ZZUoJBZhLKWvrGIkOSaGMeZQw+qZs7BxpxnXqGXKqbV9x4JxrbIUWrUIub1/DO8prnwz3+bYii3Hob8YaWrIQqULJv3UY1xpZRJmM7C96olMJ6Gofyuh17vtJw6Eu104e3ghwk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706182598; c=relaxed/simple; bh=9Pp0MChtHiGPBguFlnpKDdRirlMpS329wHoa6Ctq9H8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=JrziSiA4CdI6ai/YKVGAJ9HrJkDUz2gHumO+dHZtHGhVoImgUqFwFHQmq3qmZCbolKtSTVE1GE9/riOtWYwBBdNsPKOIfQgKCwEgSYJi0tYZTBApLdQ2pQx9/KF6M1YflCk9Q/7c8FTuO6fiowxAByQyCFVFjAaOZ/XYWMckBXY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn; spf=pass smtp.mailfrom=loongson.cn; arc=none smtp.client-ip=114.242.206.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.2.5.213]) by gateway (Coremail) with SMTP id _____8Ax++i8R7Jl5pcFAA--.1232S3; Thu, 25 Jan 2024 19:36:28 +0800 (CST) Received: from localhost.localdomain (unknown [10.2.5.213]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxXs23R7Jl9W0ZAA--.41879S3; Thu, 25 Jan 2024 19:36:27 +0800 (CST) From: Bibo Mao To: Huacai Chen , Jiaxun Yang , Thomas Gleixner Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Shtylyov , lvjianmin@loongson.cn, Huacai Chen Subject: [PATCH v4 1/3] irqchip/loongson-eiointc: Typo fix in function eiointc_domain_alloc Date: Thu, 25 Jan 2024 19:36:21 +0800 Message-Id: <20240125113623.2043061-2-maobibo@loongson.cn> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240125113623.2043061-1-maobibo@loongson.cn> References: <20240125113623.2043061-1-maobibo@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID: AQAAf8BxXs23R7Jl9W0ZAA--.41879S3 X-CM-SenderInfo: xpdruxter6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrKF47tr1DWFWfGFWUurW5CFX_yoWDurX_ur 12ywnrGryYqr17X3Z3Wr1avF9Fg3s8WFnY9F4j9F9xC34Utw18CrWavwnxJFs7Kr4rAFn3 CrZ8JrySyryIyosvyTuYvTs0mTUanT9S1TB71UUUUjUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb3AYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v2 6r4UJVWxJr1ln4kS14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12 xvs2x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1q 6rW5McIj6I8E87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64 vIr41l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1l4IxYO2xFxVAFwI0_ Jrv_JF1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1V AY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_JFI_Gr1lIxAI cVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWUJVWUCwCI42 IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIev Ja73UjIFyTuYvjxU4miiDUUUU X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789062339702344333 X-GMAIL-MSGID: 1789062339702344333 There is small typo in function eiointc_domain_alloc, and there is no definition about struct eiointc, instead it should be struct eiointc_priv. It is strange that there is no warning with gcc compiler. This patch fixes the typo issue. Signed-off-by: Bibo Mao Acked-by: Huacai Chen --- 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 1623cd779175..b3736bdd4b9f 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)