* [PATCH] include: marvell: octeontx2: build error: unknown type name 'u64'
@ 2021-10-13 13:57 Anders Roxell
2021-10-13 15:40 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: Anders Roxell @ 2021-10-13 13:57 UTC (permalink / raw)
To: bbrezillon, arno, schalla, sgoutham, gakula, sbhatta, hkelam
Cc: linux-crypto, netdev, linux-kernel, Anders Roxell
Building an allmodconfig kernel arm64 kernel, the following build error
shows up:
In file included from drivers/crypto/marvell/octeontx2/cn10k_cpt.c:4:
include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64'
38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
| ^~~
Include linux/types.h in asm.h so the compiler knows what the type
'u64' are.
Fixes: af3826db74d1 ("octeontx2-pf: Use hardware register for CQE count")
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
include/linux/soc/marvell/octeontx2/asm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/soc/marvell/octeontx2/asm.h b/include/linux/soc/marvell/octeontx2/asm.h
index 0f79fd7f81a1..d683251a0b40 100644
--- a/include/linux/soc/marvell/octeontx2/asm.h
+++ b/include/linux/soc/marvell/octeontx2/asm.h
@@ -5,6 +5,7 @@
#ifndef __SOC_OTX2_ASM_H
#define __SOC_OTX2_ASM_H
+#include <linux/types.h>
#if defined(CONFIG_ARM64)
/*
* otx2_lmt_flush is used for LMT store operation.
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] include: marvell: octeontx2: build error: unknown type name 'u64'
2021-10-13 13:57 [PATCH] include: marvell: octeontx2: build error: unknown type name 'u64' Anders Roxell
@ 2021-10-13 15:40 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2021-10-13 15:40 UTC (permalink / raw)
To: Anders Roxell
Cc: bbrezillon, arno, schalla, sgoutham, gakula, sbhatta, hkelam,
linux-crypto, netdev, linux-kernel
On Wed, 13 Oct 2021 15:57:43 +0200 Anders Roxell wrote:
> Building an allmodconfig kernel arm64 kernel, the following build error
> shows up:
>
> In file included from drivers/crypto/marvell/octeontx2/cn10k_cpt.c:4:
> include/linux/soc/marvell/octeontx2/asm.h:38:15: error: unknown type name 'u64'
> 38 | static inline u64 otx2_atomic64_fetch_add(u64 incr, u64 *ptr)
> | ^~~
>
> Include linux/types.h in asm.h so the compiler knows what the type
> 'u64' are.
>
> Fixes: af3826db74d1 ("octeontx2-pf: Use hardware register for CQE count")
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Yes, please! I've been carrying same patch locally. Any expectations on
who should apply the patch? I'm gonna send a PR with networking fixes
to Linus tomorrow, happy to take it via netdev if that's okay.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-13 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-13 13:57 [PATCH] include: marvell: octeontx2: build error: unknown type name 'u64' Anders Roxell
2021-10-13 15:40 ` Jakub Kicinski
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).