lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140630062427.GA31606@outside>
Date:	Mon, 30 Jun 2014 09:24:27 +0300
From:	Sami Laine <laine.j.sami@...il.com>
To:	gregkh@...uxfoundation.org
Cc:	paulmck@...ux.vnet.ibm.com, gulsah.1004@...il.com,
	peter.p.waskiewicz.jr@...el.com, benoit.taine@...6.fr,
	wei@...ndmicro.com.cn, ching@...lsil.com.cn,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	trivial@...nel.org
Subject: [PATCH next-20140627] drivers/staging/rts5208/rtsx.c: sparse warning
 corrections

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

Sparse warning corrections for incorrect printk format characters.

Signed-off-by: Sami Laine <laine.j.sami@...il.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ