Re: [PATCH] PCI and sysfs fixes for 2.5.74

From: Greg KH (greg@kroah.com)
Date: Thu Jul 03 2003 - 21:09:14 EST


ChangeSet 1.1371, 2003/07/03 16:06:08-07:00, greg@kroah.com

[PATCH] sysfs: change print() to pr_debug() to not annoy everyone.

 fs/sysfs/bin.c | 4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -Nru a/fs/sysfs/bin.c b/fs/sysfs/bin.c
--- a/fs/sysfs/bin.c Thu Jul 3 18:16:09 2003
+++ b/fs/sysfs/bin.c Thu Jul 3 18:16:09 2003
@@ -2,6 +2,8 @@
  * bin.c - binary file operations for sysfs.
  */
 
+#undef DEBUG
+
 #include <linux/errno.h>
 #include <linux/fs.h>
 #include <linux/kobject.h>
@@ -48,7 +50,7 @@
         if (copy_to_user(userbuf, buffer + offs, count) != 0)
                 return -EINVAL;
 
- printk("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
+ pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
 
         *off = offs + count;
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:21 EST