public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH next-20140627] drivers/staging/rts5208/rtsx.c: sparse warning corrections
@ 2014-06-30  6:24 Sami Laine
  0 siblings, 0 replies; only message in thread
From: Sami Laine @ 2014-06-30  6:24 UTC (permalink / raw)
  To: gregkh
  Cc: paulmck, gulsah.1004, peter.p.waskiewicz.jr, benoit.taine, wei,
	ching, devel, linux-kernel, trivial

From: Sami Laine <laine.j.sami@gmail.com>

Sparse warning corrections for incorrect printk format characters.

Signed-off-by: Sami Laine <laine.j.sami@gmail.com>
---
diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c
index c0a0e60..e0e8693 100644
--- a/drivers/staging/rts5208/rtsx.c
+++ b/drivers/staging/rts5208/rtsx.c
@@ -463,14 +463,14 @@ static int rtsx_control_thread(void *__dev)
                 * the maximum known LUN
                 */
                else if (chip->srb->device->id) {
-                       dev_err(&dev->pci->dev, "Bad target number (%d:%d)\n",
+                       dev_err(&dev->pci->dev, "Bad target number (%d:%llu)\n",
                                chip->srb->device->id,
                                chip->srb->device->lun);
                        chip->srb->result = DID_BAD_TARGET << 16;
                }
 
                else if (chip->srb->device->lun > chip->max_lun) {
-                       dev_err(&dev->pci->dev, "Bad LUN (%d:%d)\n",
+                       dev_err(&dev->pci->dev, "Bad LUN (%d:%llu)\n",
                                chip->srb->device->id,
                                chip->srb->device->lun);
                        chip->srb->result = DID_BAD_TARGET << 16;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-30  6:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30  6:24 [PATCH next-20140627] drivers/staging/rts5208/rtsx.c: sparse warning corrections Sami Laine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox