* [LTP] [PATCH] hugemmap36: Fix compilation on alpine
@ 2026-08-06 7:06 Cyril Hrubis
2026-08-06 7:41 ` [LTP] " linuxtestproject.agent
2026-08-06 8:01 ` [LTP] [PATCH] " Andrea Cervesato via ltp
0 siblings, 2 replies; 4+ messages in thread
From: Cyril Hrubis @ 2026-08-06 7:06 UTC (permalink / raw)
To: ltp
Use int64_t instead of off64_t that is not defined on musl libc.
Fixes: ae1b3655ed5da (hugemmap36: Migrate the libhugetlbfs/testcases/truncate_above_4GB.c tess)
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
testcases/kernel/mem/hugetlb/hugemmap/hugemmap36.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap36.c b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap36.c
index b48a34f59..5f0d70a05 100644
--- a/testcases/kernel/mem/hugetlb/hugemmap/hugemmap36.c
+++ b/testcases/kernel/mem/hugetlb/hugemmap/hugemmap36.c
@@ -21,7 +21,7 @@
*/
#define _GNU_SOURCE
-#define FOURGIG ((off64_t)0x100000000ULL)
+#define FOURGIG ((int64_t)0x100000000ULL)
#define MNTPOINT "hugetlbfs/"
#include <signal.h>
--
2.54.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [LTP] hugemmap36: Fix compilation on alpine
2026-08-06 7:06 [LTP] [PATCH] hugemmap36: Fix compilation on alpine Cyril Hrubis
@ 2026-08-06 7:41 ` linuxtestproject.agent
2026-08-06 8:01 ` [LTP] [PATCH] " Andrea Cervesato via ltp
1 sibling, 0 replies; 4+ messages in thread
From: linuxtestproject.agent @ 2026-08-06 7:41 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: ltp
Hi Cyril,
On 6 Aug 2026, Cyril Hrubis wrote:
> hugemmap36: Fix compilation on alpine
Verdict - Reviewed
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] [PATCH] hugemmap36: Fix compilation on alpine
2026-08-06 7:06 [LTP] [PATCH] hugemmap36: Fix compilation on alpine Cyril Hrubis
2026-08-06 7:41 ` [LTP] " linuxtestproject.agent
@ 2026-08-06 8:01 ` Andrea Cervesato via ltp
2026-08-06 8:35 ` Cyril Hrubis
1 sibling, 1 reply; 4+ messages in thread
From: Andrea Cervesato via ltp @ 2026-08-06 8:01 UTC (permalink / raw)
To: Cyril Hrubis; +Cc: ltp
Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LTP] [PATCH] hugemmap36: Fix compilation on alpine
2026-08-06 8:01 ` [LTP] [PATCH] " Andrea Cervesato via ltp
@ 2026-08-06 8:35 ` Cyril Hrubis
0 siblings, 0 replies; 4+ messages in thread
From: Cyril Hrubis @ 2026-08-06 8:35 UTC (permalink / raw)
To: Andrea Cervesato; +Cc: ltp
Hi!
Thanks for the review, pushed.
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-08-06 8:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 7:06 [LTP] [PATCH] hugemmap36: Fix compilation on alpine Cyril Hrubis
2026-08-06 7:41 ` [LTP] " linuxtestproject.agent
2026-08-06 8:01 ` [LTP] [PATCH] " Andrea Cervesato via ltp
2026-08-06 8:35 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox