forked from Minki/linux
[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>
This commit is contained in:
parent
9ef9dc69d4
commit
ead03e30b0
@ -125,7 +125,7 @@ cifs_get_spnego_key(struct cifsSesInfo *sesInfo)
|
|||||||
#ifdef CONFIG_CIFS_DEBUG2
|
#ifdef CONFIG_CIFS_DEBUG2
|
||||||
if (cifsFYI && !IS_ERR(spnego_key)) {
|
if (cifsFYI && !IS_ERR(spnego_key)) {
|
||||||
struct cifs_spnego_msg *msg = spnego_key->payload.data;
|
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));
|
msg->secblob_len + msg->sesskey_len));
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_CIFS_DEBUG2 */
|
#endif /* CONFIG_CIFS_DEBUG2 */
|
||||||
|
Loading…
Reference in New Issue
Block a user