diff options
author | Steve French <smfrench@gmail.com> | 2014-08-02 21:16:48 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2014-08-02 21:16:48 -0500 |
commit | 59b04c5df75bd715002bb535930ae1982a739269 (patch) | |
tree | 8ef4ccc086a0307cfe70fc193ba128482506ec98 /fs/cifs/misc.c | |
parent | 2075cf0b71bfffc4942e232f1487ac98bdfb7bf5 (diff) | |
download | op-kernel-dev-59b04c5df75bd715002bb535930ae1982a739269.zip op-kernel-dev-59b04c5df75bd715002bb535930ae1982a739269.tar.gz |
[CIFS] Fix incorrect hex vs. decimal in some debug print statements
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>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 64997a0..e65e17b 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -423,7 +423,7 @@ is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) return true; } if (pSMBr->hdr.Status.CifsError) { - cifs_dbg(FYI, "notify err 0x%d\n", + cifs_dbg(FYI, "notify err 0x%x\n", pSMBr->hdr.Status.CifsError); return true; } @@ -450,7 +450,7 @@ is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv) if (pSMB->hdr.WordCount != 8) return false; - cifs_dbg(FYI, "oplock type 0x%d level 0x%d\n", + cifs_dbg(FYI, "oplock type 0x%x level 0x%x\n", pSMB->LockType, pSMB->OplockLevel); if (!(pSMB->LockType & LOCKING_ANDX_OPLOCK_RELEASE)) return false; |