From: Weiguo Li <liwg06@foxmail.com>
To: jerinj@marvell.com
Cc: tduszynski@marvell.com, dev@dpdk.org
Subject: [PATCH v2] common/cnxk: fix incorrect error checking
Date: Sat, 22 Jan 2022 14:49:04 +0800 [thread overview]
Message-ID: <tencent_D9E5DF2B236C22CD317F3CAEA71811F93A08@qq.com> (raw)
In-Reply-To: <tencent_2800749EBE11469445C462BE78A44E532209@qq.com>
Fixes: 804c108b039a ("common/cnxk: set BPHY IRQ handler")
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
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
next prev parent reply other threads:[~2022-01-22 6:50 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 ` Weiguo Li [this message]
2022-01-23 12:42 ` [PATCH v2] " Jerin Jacob
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=tencent_D9E5DF2B236C22CD317F3CAEA71811F93A08@qq.com \
--to=liwg06@foxmail.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.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).