aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-06-27 02:06:50 -0400
committerSteve French <smfrench@gmail.com>2013-06-27 02:06:50 -0400
commite65a5cb41718e0eb17a470bc3acf2c3b2f00f1d0 (patch)
treecc64e02a4c7e852592da9a56dcc10472fc48d6ae /fs/cifs/cifsproto.h
parent429b46f4fdaf9c9007b7c0fc371b94e40c3764b2 (diff)
[CIFS] Fix build warning
Fix build warning in Shirish's recent SMB3 signing patch which occurs when SMB2 support is disabled in Kconfig. fs/built-in.o: In function `cifs_setup_session': >> (.text+0xa1767): undefined reference to `generate_smb3signingkey' Pointed out by: automated 0-DAY kernel build testing backend Intel Open Source Technology Center CC: Shirish Pargaonkar <shirishpargaonkar@gmail.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index ff669e7c5857..c8ff018fae68 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -436,7 +436,7 @@ extern int setup_ntlmv2_rsp(struct cifs_ses *, const struct nls_table *);
436extern int cifs_crypto_shash_allocate(struct TCP_Server_Info *); 436extern int cifs_crypto_shash_allocate(struct TCP_Server_Info *);
437extern void cifs_crypto_shash_release(struct TCP_Server_Info *); 437extern void cifs_crypto_shash_release(struct TCP_Server_Info *);
438extern int calc_seckey(struct cifs_ses *); 438extern int calc_seckey(struct cifs_ses *);
439extern int generate_smb3signingkey(struct TCP_Server_Info *); 439extern void generate_smb3signingkey(struct TCP_Server_Info *);
440 440
441#ifdef CONFIG_CIFS_WEAK_PW_HASH 441#ifdef CONFIG_CIFS_WEAK_PW_HASH
442extern int calc_lanman_hash(const char *password, const char *cryptkey, 442extern int calc_lanman_hash(const char *password, const char *cryptkey,