lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 26 Oct 2016 03:07:44 -0700
From:   tip-bot for Michael Ellerman <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     mingo@...nel.org, hpa@...or.com, bp@...e.de, tglx@...utronix.de,
        linux-kernel@...r.kernel.org, mpe@...erman.id.au
Subject: [tip:core/smp] kernel/smp: Define pr_fmt() for smp.c

Commit-ID:  ca7dfdbb33675151ad0854aea11340f95c38aff3
Gitweb:     http://git.kernel.org/tip/ca7dfdbb33675151ad0854aea11340f95c38aff3
Author:     Michael Ellerman <mpe@...erman.id.au>
AuthorDate: Wed, 26 Oct 2016 16:37:53 +1100
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Wed, 26 Oct 2016 12:02:35 +0200

kernel/smp: Define pr_fmt() for smp.c

This makes all our pr_xxx()'s start with "smp: ", which helps pin down
where they come from and generally looks nice. There is actually only
one pr_xxx() use in smp.c at the moment, but we will add some more in
the next commit.

Suggested-by: Borislav Petkov <bp@...e.de>
Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
Cc: akpm@...l.org
Cc: jgross@...e.com
Cc: ak@...ux.intel.com
Cc: tim.c.chen@...ux.intel.com
Cc: len.brown@...el.com
Cc: peterz@...radead.org
Cc: richard@....at
Cc: jolsa@...hat.com
Cc: boris.ostrovsky@...cle.com
Cc: mgorman@...hsingularity.net
Link: http://lkml.kernel.org/r/1477460275-8266-1-git-send-email-mpe@ellerman.id.au
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>

---
 kernel/smp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/smp.c b/kernel/smp.c
index bba3b20..2d1f15d 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -3,6 +3,9 @@
  *
  * (C) Jens Axboe <jens.axboe@...cle.com> 2008
  */
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/irq_work.h>
 #include <linux/rcupdate.h>
 #include <linux/rculist.h>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ