Linux Test Project
 help / color / mirror / Atom feed
From: Li Wang <liwang@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [COMMITTED PATCH] mmap1: include lapi/abisize.h header file
Date: Thu, 28 Nov 2019 16:29:45 +0800	[thread overview]
Message-ID: <20191128082945.6495-1-liwang@redhat.com> (raw)

To get rid of this BROK on i686:
 mmap1.c:204: BROK: mmap((nil),2147483648,3,34,-1,0) failed: ENOMEM (12)

Reported-by: Zhijun Wang <zhijwang@redhat.com>
Signed-off-by: Li Wang <liwang@redhat.com>
---
 testcases/kernel/mem/mtest06/mmap1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/mem/mtest06/mmap1.c b/testcases/kernel/mem/mtest06/mmap1.c
index c5417444f..5c7d3df2f 100644
--- a/testcases/kernel/mem/mtest06/mmap1.c
+++ b/testcases/kernel/mem/mtest06/mmap1.c
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include "lapi/abisize.h"
 #include "tst_test.h"
+#include "lapi/abisize.h"
 #include "tst_safe_pthread.h"
 
 #ifdef TST_ABI32
-- 
2.20.1


             reply	other threads:[~2019-11-28  8:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-28  8:29 Li Wang [this message]
2019-11-28  8:35 ` [LTP] [COMMITTED PATCH] mmap1: include lapi/abisize.h header file Jan Stancek
2019-11-28  8:37   ` Li Wang
2019-11-29  3:19     ` Xiao Yang
2019-11-29  3:43       ` Li Wang

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=20191128082945.6495-1-liwang@redhat.com \
    --to=liwang@redhat.com \
    --cc=ltp@lists.linux.it \
    /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