lkml.org 
[lkml]   [2024]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 3/3] irqchip/loongson-eiointc: Typo fix in function eiointc_domain_alloc
    Date
    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 <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 86f4faad0695..1a25e0613d50 100644
    --- a/drivers/irqchip/irq-loongson-eiointc.c
    +++ b/drivers/irqchip/irq-loongson-eiointc.c
    @@ -252,7 +252,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

    \
     
     \ /
      Last update: 2024-01-18 13:17    [W:3.484 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site