diff options
author | Steve French <smfrench@gmail.com> | 2013-06-27 10:06:50 +0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-27 10:06:50 +0400 |
commit | e65a5cb41718e0eb17a470bc3acf2c3b2f00f1d0 (patch) | |
tree | cc64e02a4c7e852592da9a56dcc10472fc48d6ae /fs/cifs/cifsproto.h | |
parent | 429b46f4fdaf9c9007b7c0fc371b94e40c3764b2 (diff) | |
download | linux-e65a5cb41718e0eb17a470bc3acf2c3b2f00f1d0.tar.xz |
[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.h | 2 |
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 *); extern int cifs_crypto_shash_allocate(struct TCP_Server_Info *); extern void cifs_crypto_shash_release(struct TCP_Server_Info *); extern int calc_seckey(struct cifs_ses *); -extern int generate_smb3signingkey(struct TCP_Server_Info *); +extern void generate_smb3signingkey(struct TCP_Server_Info *); #ifdef CONFIG_CIFS_WEAK_PW_HASH extern int calc_lanman_hash(const char *password, const char *cryptkey, |