From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0A126A04A2; Sun, 23 Jan 2022 13:43:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B64EA40041; Sun, 23 Jan 2022 13:43:08 +0100 (CET) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by mails.dpdk.org (Postfix) with ESMTP id 8DC0140040 for ; Sun, 23 Jan 2022 13:43:07 +0100 (CET) Received: by mail-il1-f181.google.com with SMTP id a18so11579155ilq.6 for ; Sun, 23 Jan 2022 04:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NoKagIYa9OodKX0C9E4hSSPNhe6uZAxDDxxe4w+o/sI=; b=DScQf+e6UhLvkupq+jF7pAwx1Ml2fSghrJ+1nJ90hP/0ALXFNnL2AVTgslkYUCS4ur TESFw8XUCfWOlnF+cbZxnLyWaYLEBTPhH42KlrpbHLmjfgNJk0CprKTa3Afp+QO77X8n xcZ3rkuRFM+InsSyXZi7WJxIXl+YNMup2Rm/l3Ozn+iIYwLHAiUL4kLq4naAsRVeuGhU jJT2F5puepG7dcBKlbjqu4TeUJ+nqgHK3KS1ErL4srKRBmGR5tjN6g7AlchRMTI8kjyb umbM0IqiClf7OIdWVZmLeeHtlkDfZ49fCRpI4QWYy84/JzpXSIFOo9ZpXqEyGsPaekjT HKSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NoKagIYa9OodKX0C9E4hSSPNhe6uZAxDDxxe4w+o/sI=; b=7cGG1RhXcfNlDOF5I57cmSphDfbvF2dskLtaHRYglE41EkTda8KlBeV8JUiC0VEZlZ zThEXJv8/nt5qAjFcpGHjkcISHY+M24ZqOyQGR/7s3D0nb1AhlN86y6ZvMXugPFVmQyx DOqdLsC3i+2t1gKlra1Y1OKw3A9/DiVp2KModJ5IENx02M2v4cHwvY5mcrRvl4Pmd49A lDrH2vcrBjyhJjfOPpwfXao7404wiHDmpuaJm/oPmlh9WyWeP2QCkruHOBnswmmQ7d9Y UuyS8JvkDBACY1jKHvauy/qmsyxfzEaTg0yfhAnV53XJM+6so51Zkv0f1cHakT5z3/s+ RCBA== X-Gm-Message-State: AOAM533tS9mvsBQS0DKLiN3CY4rsL+T+qCuEAqSpf3UqqIl3qUhmUvHJ NYgsW+gyVKtWYfidCuKc6m5Oqqvw/YpXse0hno23ShLq0FE= X-Google-Smtp-Source: ABdhPJwCxrEpyfzxxZjMuxqx3uMrFeOBJCygYUVOrtY5XdkeH/QDsOXF8rny9kfg0Wb6K9BJtGR5D6DK+9hwrh7R9nk= X-Received: by 2002:a05:6e02:5d2:: with SMTP id l18mr6526309ils.294.1642941786887; Sun, 23 Jan 2022 04:43:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Sun, 23 Jan 2022 18:12:40 +0530 Message-ID: Subject: Re: [PATCH v2] common/cnxk: fix incorrect error checking To: Weiguo Li , Ferruh Yigit Cc: Jerin Jacob , Tomasz Duszynski , dpdk-dev Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, Jan 22, 2022 at 12:20 PM Weiguo Li wrote: > > Fixes: 804c108b039a ("common/cnxk: set BPHY IRQ handler") Cc: stable@dpdk.org > Signed-off-by: Weiguo Li > --- Acked-by: Jerin Jacob Applied to dpdk-next-net-mrvl/for-next-net. Thanks > drivers/common/cnxk/roc_bphy_irq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/common/cnxk/roc_bphy_irq.c b/drivers/common/cnxk/roc_bphy_irq.c > index f4e9b341af..f4954d2a28 100644 > --- a/drivers/common/cnxk/roc_bphy_irq.c > +++ b/drivers/common/cnxk/roc_bphy_irq.c > @@ -259,7 +259,7 @@ roc_bphy_irq_handler_set(struct roc_bphy_irq_chip *chip, int irq_num, > > CPU_ZERO(&intr_cpuset); > CPU_SET(curr_cpu, &intr_cpuset); > - retval = pthread_setaffinity_np(pthread_self(), sizeof(intr_cpuset), > + rc = pthread_setaffinity_np(pthread_self(), sizeof(intr_cpuset), > &intr_cpuset); > if (rc < 0) { > plt_err("Failed to set affinity mask"); > -- > 2.25.1 >