Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp773469rdb; Mon, 29 Jan 2024 19:23:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEndQWD+fzcyZTntyfMp6pCGiGA9jhuC1b21RqSslQZH+vSyTA3MX/Otdd4wE3YSkaUjbZv X-Received: by 2002:a17:90b:903:b0:295:b31b:2b85 with SMTP id bo3-20020a17090b090300b00295b31b2b85mr268998pjb.42.1706585002495; Mon, 29 Jan 2024 19:23:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706585002; cv=pass; d=google.com; s=arc-20160816; b=DXS3GUigbbxw7fBds+izwMPLIndO5pJ7WaqhpNFSREgjwhgA+11VaykIGN6mNtfKD6 +bt9Mxe2XlPYjMRPFM/pjlLtHLIgjge1iGGkfRp4R8aODH7pqgbTLVYUDpds+giFKfls +m6HWatoiNQSBME01NkHEMzTE9rMfcFIkns8ix4VG7J2xOwbijnAQxpT7edljBb4jCZS VLwwJWsXFhPDJhtTHeaGvoxGAHEitYRPfJPfNxTmwJ9+ZJ2d3JO38bpQj/tLnESiIC0G oU/UAXCyEA+UZFrpTRvMbgRezFPPpT9I5+FnwWnGc/CxBhSz2p1+jNhBzI+2i+QT4BxB LtgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent:date :message-id:from:references:cc:to:subject; bh=ezFUY1FXVsLMYP6z6DexR8fDPM1Uejy2icWu1q/4VAM=; fh=x1LQl+WtutdmDOW0e3QTF3IObOaaSixPu4fUfeibhZQ=; b=zCE3N1k/g8SuQK3VRKHRCpJKfixWeLIwvoO3yW7sMdIE7dlAkd9ZARmrhLqef8Rnbu W1hE3VLbZIfwptw03abN0tl50bu4dM6W4Isl00OSyBOkZVOhtwqCi8gAL7E9JD083WYR 3c20MThA3xPXSJocU+Ntp9YFRgpdZVhF7+RFuwfqygjfzkRQDLj5oVzDn7a0MeXgzFm6 O2PJKO9MqnSCVC2jT+RAIRS++kCAc+h6bUbq5usuL4L5nbU5yhZVv21bJUa13tz+xw66 MOZHnBMB1aPUGoGUtVbXLj41vLI/dlF9+XsarTQtCmOsvr6eHodEUkiaQx57OnBd8LH5 8lPA== 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-43892-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43892-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q10-20020a17090a9f4a00b0028b74d2291asi6785658pjv.149.2024.01.29.19.23.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 19:23:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43892-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; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-43892-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43892-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9B14628727E for ; Tue, 30 Jan 2024 03:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FC44383A8; Tue, 30 Jan 2024 03:22:16 +0000 (UTC) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96D3C381D9; Tue, 30 Jan 2024 03:22:13 +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=1706584936; cv=none; b=TkKuF8mJKQB1GWi70uCH44zzDaVs1OyS9muX0NwVKvm12dhgyx8qAM2K9drpvVD5E3RsywGhJFDh1vb7ssXiKVhUsqJYDcBIVkBXcNzmHWKYWS1FBTCFR2A8ejX8biEupoxx4KIqT5LDBDpH4JOQbs53F8jxqWjRvs7xJymr8Ac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706584936; c=relaxed/simple; bh=2IXwML/OhIF3bCdnqcufjvigJt0sgb+gpzdgSWQKPMg=; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=TCkKVCZoycGVCt8sXJi748hftxns5ZbILf3IZMNvPoQQajxC/XYAqe0h7uYQirvSXUkaWx+ZkJKBdyxERlTM9+L0qeMelWhjERJZL+Mmi0aXpKaAxwLain48CmF+STLpUwPAZXfwGpMj69o/m29VBndxv50ut+duIjzy0Pc//OE= 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.20.42.173]) by gateway (Coremail) with SMTP id _____8Cxbetka7hlDSoIAA--.25279S3; Tue, 30 Jan 2024 11:22:12 +0800 (CST) Received: from [10.20.42.173] (unknown [10.20.42.173]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bx7c5ga7hl2jonAA--.22829S3; Tue, 30 Jan 2024 11:22:10 +0800 (CST) Subject: Re: [PATCH v4 1/3] irqchip/loongson-eiointc: Typo fix in function eiointc_domain_alloc To: Huacai Chen Cc: Jiaxun Yang , Thomas Gleixner , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Shtylyov , lvjianmin@loongson.cn, Huacai Chen References: <20240125113623.2043061-1-maobibo@loongson.cn> <20240125113623.2043061-2-maobibo@loongson.cn> From: maobibo Message-ID: <42844534-9b08-1aed-9067-6d4525a0d2ef@loongson.cn> Date: Tue, 30 Jan 2024 11:22:08 +0800 User-Agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8Bx7c5ga7hl2jonAA--.22829S3 X-CM-SenderInfo: xpdruxter6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBj93XoW7ZF1fAr48Aw43JF1rur4DGFX_yoW8Xry7pF WUA3Wqkr45XryUA34agr4DZFyak390qrZ7Kayxtayavr98Jw1DGF1ruayqkr1vyw48GF12 9F40qr1Uu3W5CacCm3ZEXasCq-sJn29KB7ZKAUJUUUUr529EdanIXcx71UUUUU7KY7ZEXa sCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29KBjDU 0xBIdaVrnRJUUUB2b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26cxKx2 IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48v e4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI 0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x0267AK xVW8Jr0_Cr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07 AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWU XVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI4 8JMxk0xIA0c2IEe2xFo4CEbIxvr21l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_ Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8Gjc xK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0 cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8V AvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E 14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxU4s2-UUUUU On 2024/1/29 下午8:23, Huacai Chen wrote: > Hi, Bibo, > > We usually use eiointc_domain_alloc() rather than eiointc_domain_alloc > to describe a function, but it is not a big issue. If you will update > a new version you can modify this. sure, will do. Regards Bibo Mao > > Huacai > > On Thu, Jan 25, 2024 at 7:36 PM Bibo Mao wrote: >> >> 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) >> -- >> 2.39.3 >>