+ hexdump-fix-for-non-aligned-buffers-v6.patch added to -mm tree

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

 



The patch titled
     Subject: hexdump-fix-for-non-aligned-buffers-v6
has been added to the -mm tree.  Its filename is
     hexdump-fix-for-non-aligned-buffers-v6.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/hexdump-fix-for-non-aligned-buffers-v6.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/hexdump-fix-for-non-aligned-buffers-v6.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: Horacio Mijail Anton Quiles <hmijail@xxxxxxxxx>
Subject: hexdump-fix-for-non-aligned-buffers-v6

 - Removed unnecessary cast of u64 to unsigned long long, since
     currently they are equivalent (per Geer Uytterhoeven's indication)


Signed-off-by: Horacio Mijail Antón Quiles <hmijail@xxxxxxxxx>
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/hexdump.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN lib/hexdump.c~hexdump-fix-for-non-aligned-buffers-v6 lib/hexdump.c
--- a/lib/hexdump.c~hexdump-fix-for-non-aligned-buffers-v6
+++ a/lib/hexdump.c
@@ -140,8 +140,7 @@ int hex_dump_to_buffer(const void *buf,
 		for (j = 0; j < ngroups; j++) {
 			ret = snprintf(linebuf + lx, linebuflen - lx,
 				       "%s%16.16llx", j ? " " : "",
-				       (unsigned long long)
-					       get_unaligned(ptr8 + j));
+				       get_unaligned(ptr8 + j));
 			if (ret >= linebuflen - lx)
 				goto overflow1;
 			lx += ret;
_

Patches currently in -mm which might be from hmijail@xxxxxxxxx are

hexdump-fix-for-non-aligned-buffers.patch
hexdump-fix-for-non-aligned-buffers-v6.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