]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
[CIFS] fix warning in cifs_spnego.c
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Feb 2008 15:51:24 +0000 (15:51 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 5 Feb 2008 15:51:24 +0000 (15:51 +0000)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_spnego.c

index d543accc10dd0be24a870ebaa634bd9c7cb199e7..6653e29637a7ec534c83d53c8a21ddda24130367 100644 (file)
@@ -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 */