From: Andrew Morton <akpm@linux-foundation.org>
Date: Tue, 5 Feb 2008 15:51:24 +0000 (+0000)
Subject: [CIFS] fix warning in cifs_spnego.c
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ead03e30b050d6dda769e7e9b071c5fa720bf8d2;p=linux.git

[CIFS] fix warning in cifs_spnego.c

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
---

diff --git a/fs/cifs/cifs_spnego.c b/fs/cifs/cifs_spnego.c
index d543accc10dd0..6653e29637a7e 100644
--- a/fs/cifs/cifs_spnego.c
+++ b/fs/cifs/cifs_spnego.c
@@ -125,7 +125,7 @@ cifs_get_spnego_key(struct cifsSesInfo *sesInfo)
 #ifdef CONFIG_CIFS_DEBUG2
 	if (cifsFYI && !IS_ERR(spnego_key)) {
 		struct cifs_spnego_msg *msg = spnego_key->payload.data;
-		cifs_dump_mem("SPNEGO reply blob:", msg->data, min(1024,
+		cifs_dump_mem("SPNEGO reply blob:", msg->data, min(1024U,
 				msg->secblob_len + msg->sesskey_len));
 	}
 #endif /* CONFIG_CIFS_DEBUG2 */