]> git.openpandora.org Git - pandora-kernel.git/commitdiff
[CIFS] Fix incorrect hex vs. decimal in some debug print statements
authorSteve French <smfrench@gmail.com>
Sun, 3 Aug 2014 02:16:48 +0000 (21:16 -0500)
committerSteve French <smfrench@gmail.com>
Sun, 3 Aug 2014 02:16:48 +0000 (21:16 -0500)
Joe Perches and Hans Wennborg noticed that various places in the
kernel were printing decimal numbers with 0x prefix.
    printk("0x%d") or equivalent
This fixes the instances of this in the cifs driver.

CC: Hans Wennborg <hans@hanshq.net>
CC: Joe Perches <joe@perches.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifs_debug.c
fs/cifs/misc.c
fs/cifs/smb2misc.c

index f3ac4154cbb606707956d9fbbd2a64ec553a9ceb..44ec72684df592bce09b24c6e5ecf65fb0b5fff8 100644 (file)
@@ -213,7 +213,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
                                                   tcon->nativeFileSystem);
                                }
                                seq_printf(m, "DevInfo: 0x%x Attributes: 0x%x"
-                                       "\n\tPathComponentMax: %d Status: 0x%d",
+                                       "\n\tPathComponentMax: %d Status: %d",
                                        le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics),
                                        le32_to_cpu(tcon->fsAttrInfo.Attributes),
                                        le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength),
diff --cc fs/cifs/misc.c
Simple merge
Simple merge