Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510963 > unrolled thread

[PATCH 3/4] drivers: base: cacheinfo: add pr_fmt logging

Started bySudeep Holla <sudeep.holla@arm.com>
First post2016-10-28 10:50 +0200
Last post2016-10-28 10:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/4] drivers: base: cacheinfo: add pr_fmt logging Sudeep Holla <sudeep.holla@arm.com> - 2016-10-28 10:50 +0200

#1510963 — [PATCH 3/4] drivers: base: cacheinfo: add pr_fmt logging

FromSudeep Holla <sudeep.holla@arm.com>
Date2016-10-28 10:50 +0200
Subject[PATCH 3/4] drivers: base: cacheinfo: add pr_fmt logging
Message-ID<sxb1o-5Wd-11@gated-at.bofh.it>
This cleanup patch just adds pr_fmt style logging for cacheinfo.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 drivers/base/cacheinfo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index 70e13cf06ed0..f19d50bd8925 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -16,6 +16,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
 #include <linux/acpi.h>
 #include <linux/bitops.h>
 #include <linux/cacheinfo.h>
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web