+ checkpatch-add-%pt-as-a-valid-vsprintf-extension.patch added to -mm tree

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

 



The patch titled
     Subject: checkpatch: add %pt as a valid vsprintf extension
has been added to the -mm tree.  Its filename is
     checkpatch-add-%pt-as-a-valid-vsprintf-extension.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/checkpatch-add-%25pt-as-a-valid-vsprintf-extension.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/checkpatch-add-%25pt-as-a-valid-vsprintf-extension.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Subject: checkpatch: add %pt as a valid vsprintf extension

4d42c44727a0 ("lib/vsprintf: Print time and date in human readable format
via %pt") introduced a new extension, %pt.  Add it in the list of valid
extensions.

Link: http://lkml.kernel.org/r/20190314203719.29130-1-alexandre.belloni@xxxxxxxxxxx
Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Cc: Joe Perches <joe@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/scripts/checkpatch.pl~checkpatch-add-%pt-as-a-valid-vsprintf-extension
+++ a/scripts/checkpatch.pl
@@ -5979,7 +5979,7 @@ sub process {
 				while ($fmt =~ /(\%[\*\d\.]*p(\w))/g) {
 					$specifier = $1;
 					$extension = $2;
-					if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOx]/) {
+					if ($extension !~ /[SsBKRraEhMmIiUDdgVCbGNOxt]/) {
 						$bad_specifier = $specifier;
 						last;
 					}
_

Patches currently in -mm which might be from alexandre.belloni@xxxxxxxxxxx are

checkpatch-add-%pt-as-a-valid-vsprintf-extension.patch




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

  Powered by Linux