+ memfd_test-add-missing-argument-to-printf.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: memfd_test: add missing argument to printf()
has been added to the -mm tree.  Its filename is
     memfd_test-add-missing-argument-to-printf.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/memfd_test-add-missing-argument-to-printf.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/memfd_test-add-missing-argument-to-printf.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Pranith Kumar <bobby.prani@xxxxxxxxx>
Subject: memfd_test: add missing argument to printf()

Add a missing path argument buf to printf().

Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx>
Reviewed-by: David Herrmann <dh.herrmann@xxxxxxxxx>
Cc: Shuah Khan <shuah.kh@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/testing/selftests/memfd/memfd_test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN tools/testing/selftests/memfd/memfd_test.c~memfd_test-add-missing-argument-to-printf tools/testing/selftests/memfd/memfd_test.c
--- a/tools/testing/selftests/memfd/memfd_test.c~memfd_test-add-missing-argument-to-printf
+++ a/tools/testing/selftests/memfd/memfd_test.c
@@ -205,7 +205,7 @@ static void mfd_fail_open(int fd, int fl
 	sprintf(buf, "/proc/self/fd/%d", fd);
 	r = open(buf, flags, mode);
 	if (r >= 0) {
-		printf("open(%s) didn't fail as expected\n");
+		printf("open(%s) didn't fail as expected\n", buf);
 		abort();
 	}
 }
_

Patches currently in -mm which might be from bobby.prani@xxxxxxxxx are

memfd_test-add-missing-argument-to-printf.patch
memfd_test-make-it-work-on-32-bit-systems.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux