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


Cc: sta...@dpdk.org

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

Acked-by: Jerin Jacob <jer...@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 via email to