+ correct-function-definition-for-c.patch added to -mm tree

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

 



The patch titled
     Subject: include/linux/printk.h: correct function definition for C++
has been added to the -mm tree.  Its filename is
     correct-function-definition-for-c.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/correct-function-definition-for-c.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/correct-function-definition-for-c.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: Joakim Tjernlund <joakim.tjernlund@xxxxxxxxxxxx>
Subject: include/linux/printk.h: correct function definition for C++

C++ does does not like the extra extern before asmlinkage, remove it.

Link: http://lkml.kernel.org/r/20170221151044.5499-1-joakim.tjernlund@xxxxxxxxxxxx
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@xxxxxxxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/printk.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN include/linux/printk.h~correct-function-definition-for-c include/linux/printk.h
--- a/include/linux/printk.h~correct-function-definition-for-c
+++ a/include/linux/printk.h
@@ -139,7 +139,7 @@ struct va_format {
 })
 
 #ifdef CONFIG_EARLY_PRINTK
-extern asmlinkage __printf(1, 2)
+asmlinkage  __printf(1, 2)
 void early_printk(const char *fmt, ...);
 #else
 static inline __printf(1, 2) __cold
@@ -279,7 +279,7 @@ static inline void printk_safe_flush_on_
 }
 #endif
 
-extern asmlinkage void dump_stack(void) __cold;
+asmlinkage void dump_stack(void) __cold;
 
 #ifndef pr_fmt
 #define pr_fmt(fmt) fmt
_

Patches currently in -mm which might be from joakim.tjernlund@xxxxxxxxxxxx are

correct-function-definition-for-c.patch
compilerh-fix-c-uninitialized-const-issue.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 Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux