Skip to contentSkip to conversation

drivers/staging/rts5208/rtsx.c: sparse warning corrections

PATCH New Sami Laine 1 participant 1 message Jun 30, 2014 Staging

lore
Share & tools
lore

Sami Laine

author
#0 lore raw

PATCH 1/1 drivers/staging/rts5208/rtsx.c: sparse warning corrections

From: Sami Laine <[email protected]>

Sparse warning corrections for incorrect printk format characters.

---

drivers/staging/rts5208/rtsx.c +2 -2
index c0a0e60..e0e8693 100644
@@ -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;