DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Weiguo Li <liwg06@foxmail.com>, Ferruh Yigit <ferruh.yigit@intel.com>
Cc: Jerin Jacob <jerinj@marvell.com>,
	Tomasz Duszynski <tduszynski@marvell.com>,
	dpdk-dev <dev@dpdk.org>
Subject: Re: [PATCH v2] common/cnxk: fix incorrect error checking
Date: Sun, 23 Jan 2022 18:12:40 +0530	[thread overview]
Message-ID: <CALBAE1OLVEkONUDsE8Jbop3Tt_ZKi4kTZFibTH2y2Rmrv7Bt8w@mail.gmail.com> (raw)
In-Reply-To: <tencent_D9E5DF2B236C22CD317F3CAEA71811F93A08@qq.com>

On Sat, Jan 22, 2022 at 12:20 PM Weiguo Li <liwg06@foxmail.com> wrote:
>
> Fixes: 804c108b039a ("common/cnxk: set BPHY IRQ handler")


Cc: stable@dpdk.org

> Signed-off-by: Weiguo Li <liwg06@foxmail.com>
> ---

Acked-by: Jerin Jacob <jerinj@marvell.com>
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
>

      reply	other threads:[~2022-01-23 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21  8:02 [PATCH] " Weiguo Li
2022-01-21 19:28 ` Tomasz Duszynski
2022-01-22  6:49 ` [PATCH v2] " Weiguo Li
2022-01-23 12:42   ` Jerin Jacob [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALBAE1OLVEkONUDsE8Jbop3Tt_ZKi4kTZFibTH2y2Rmrv7Bt8w@mail.gmail.com \
    --to=jerinjacobk@gmail.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jerinj@marvell.com \
    --cc=liwg06@foxmail.com \
    --cc=tduszynski@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).