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


Groups > linux.kernel > #1510963

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

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject [PATCH 3/4] drivers: base: cacheinfo: add pr_fmt logging
Date 2016-10-28 10:50 +0200
Message-ID <sxb1o-5Wd-11@gated-at.bofh.it> (permalink)
References <sxb1o-5Wd-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web