All of lore.kernel.org
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: nicolas.iooss_linux@m4x.org, aryabinin@virtuozzo.com,
	joe@perches.com, mm-commits@vger.kernel.org
Subject: + ubsan-fix-typo-in-format-string.patch added to -mm tree
Date: Mon, 01 Aug 2016 15:59:33 -0700	[thread overview]
Message-ID: <579fd455.2MVO9QQiu48Q3Lj0%akpm@linux-foundation.org> (raw)


The patch titled
     Subject: UBSAN: fix typo in format string
has been added to the -mm tree.  Its filename is
     ubsan-fix-typo-in-format-string.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/ubsan-fix-typo-in-format-string.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/ubsan-fix-typo-in-format-string.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: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Subject: UBSAN: fix typo in format string

handle_object_size_mismatch() used %pk to format a kernel pointer with
pr_err().  This seemed to be a misspelling for %pK, but using this to
format a kernel pointer does not make much sence here.

Therefore use %p instead, like in handle_missaligned_access().

Link: http://lkml.kernel.org/r/20160730083010.11569-1-nicolas.iooss_linux@m4x.org
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/ubsan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN lib/ubsan.c~ubsan-fix-typo-in-format-string lib/ubsan.c
--- a/lib/ubsan.c~ubsan-fix-typo-in-format-string
+++ a/lib/ubsan.c
@@ -308,7 +308,7 @@ static void handle_object_size_mismatch(
 		return;
 
 	ubsan_prologue(&data->location, &flags);
-	pr_err("%s address %pk with insufficient space\n",
+	pr_err("%s address %p with insufficient space\n",
 		type_check_kinds[data->type_check_kind],
 		(void *) ptr);
 	pr_err("for an object of type %s\n", data->type->type_name);
_

Patches currently in -mm which might be from nicolas.iooss_linux@m4x.org are

ubsan-fix-typo-in-format-string.patch


             reply	other threads:[~2016-08-01 23:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 22:59 akpm [this message]
2016-08-01 22:59 + ubsan-fix-typo-in-format-string.patch added to -mm tree akpm

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=579fd455.2MVO9QQiu48Q3Lj0%akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=aryabinin@virtuozzo.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=nicolas.iooss_linux@m4x.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.