* [dpdk-dev] [PATCH] common/sfc_efx/base: fix macro to extract from 256-bit type
@ 2020-11-13 8:42 Andrew Rybchenko
2020-11-13 14:49 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Rybchenko @ 2020-11-13 8:42 UTC (permalink / raw)
To: dev; +Cc: Andrew Rybchenko
Fixes: eda1cc20c3bc ("common/sfc_efx/base: add 256-bit type")
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
---
drivers/common/sfc_efx/base/efx_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/sfc_efx/base/efx_types.h b/drivers/common/sfc_efx/base/efx_types.h
index d67d07ba3b..a08c5ab358 100644
--- a/drivers/common/sfc_efx/base/efx_types.h
+++ b/drivers/common/sfc_efx/base/efx_types.h
@@ -447,7 +447,7 @@ extern int fix_lint;
EFX_EXTRACT64((_xword).ex_u64[3], FIX_LINT(192), FIX_LINT(255), \
_low, _high))
-#define EFX_EXTRACT_XWORD32(_oword, _low, _high) \
+#define EFX_EXTRACT_XWORD32(_xword, _low, _high) \
(EFX_EXTRACT32((_xword).ex_u32[0], FIX_LINT(0), FIX_LINT(31), \
_low, _high) | \
EFX_EXTRACT32((_xword).ex_u32[1], FIX_LINT(32), FIX_LINT(63), \
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-13 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-13 8:42 [dpdk-dev] [PATCH] common/sfc_efx/base: fix macro to extract from 256-bit type Andrew Rybchenko
2020-11-13 14:49 ` Ferruh Yigit
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).