+ w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support-fix.patch added to -mm tree

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

 



The patch titled
     w1: fix w1_ds2408.c printk formats
has been added to the -mm tree.  Its filename is
     w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support-fix.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 ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: w1: fix w1_ds2408.c printk formats
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix printk format warnings (on i386):
(in w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support.patch)

drivers/w1/slaves/w1_ds2408.c:79: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'size_t'
drivers/w1/slaves/w1_ds2408.c:92: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'size_t'
drivers/w1/slaves/w1_ds2408.c:106: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'size_t'
drivers/w1/slaves/w1_ds2408.c:120: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'size_t'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Jean-François Dagenais <dagenaisj@xxxxxxxxxxxx>
Cc: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
Cc: Szabolcs Gyurko <szabolcs.gyurko@xxxxxx>
Cc: Matt Reimer <mreimer@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/w1/slaves/w1_ds2408.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -puN drivers/w1/slaves/w1_ds2408.c~w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support-fix drivers/w1/slaves/w1_ds2408.c
--- a/drivers/w1/slaves/w1_ds2408.c~w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support-fix
+++ a/drivers/w1/slaves/w1_ds2408.c
@@ -77,7 +77,7 @@ static ssize_t w1_f29_read_state(
 	char *buf, loff_t off, size_t count)
 {
 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
-		"Reading %s kobj: %p, off: %0#10x, count: %lu, buff addr: %p",
+		"Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p",
 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
 	if (count != 1 || off != 0)
 		return -EFAULT;
@@ -90,7 +90,7 @@ static ssize_t w1_f29_read_output(
 	char *buf, loff_t off, size_t count)
 {
 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
-		"Reading %s kobj: %p, off: %0#10x, count: %lu, buff addr: %p",
+		"Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p",
 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
 	if (count != 1 || off != 0)
 		return -EFAULT;
@@ -104,7 +104,7 @@ static ssize_t w1_f29_read_activity(
 	char *buf, loff_t off, size_t count)
 {
 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
-		"Reading %s kobj: %p, off: %0#10x, count: %lu, buff addr: %p",
+		"Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p",
 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
 	if (count != 1 || off != 0)
 		return -EFAULT;
@@ -118,7 +118,7 @@ static ssize_t w1_f29_read_cond_search_m
 	char *buf, loff_t off, size_t count)
 {
 	dev_dbg(&kobj_to_w1_slave(kobj)->dev,
-		"Reading %s kobj: %p, off: %0#10x, count: %lu, buff addr: %p",
+		"Reading %s kobj: %p, off: %0#10x, count: %zu, buff addr: %p",
 		bin_attr->attr.name, kobj, (unsigned int)off, count, buf);
 	if (count != 1 || off != 0)
 		return -EFAULT;
_

Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are

linux-next.patch
drivers-leds-leds-pca9532c-add-gpio-capability.patch
leds-route-kbd-leds-through-the-generic-leds-layer.patch
drivers-scsi-megaraidc-fix-sparse-warnings.patch
w1-add-1-wire-w1-ds2408-8-channel-addressable-switch-support-fix.patch
mutex-subsystem-synchro-test-module.patch
mutex-subsystem-synchro-test-module-fix.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 Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux