[cifs:for-next 1/1] fs/cifs/smb2transport.c:403:27: error: 'struct cifs_ses' has no member named 'preauth_sha_hash'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.samba.org/sfrench/cifs-2.6.git for-next
head:   a679c0e328c9ba44572af59c90e28fa0b5f1c5a0
commit: a679c0e328c9ba44572af59c90e28fa0b5f1c5a0 [1/1] Fix encryption labels and lengths for SMB3.1.1
config: i386-randconfig-x074-201738 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout a679c0e328c9ba44572af59c90e28fa0b5f1c5a0
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/cifs/smb2transport.c: In function 'generate_smb311signingkey':
>> fs/cifs/smb2transport.c:403:27: error: 'struct cifs_ses' has no member named 'preauth_sha_hash'
     d->context.iov_base = ses->preauth_sha_hash;
                              ^~
   fs/cifs/smb2transport.c:409:27: error: 'struct cifs_ses' has no member named 'preauth_sha_hash'
     d->context.iov_base = ses->preauth_sha_hash;
                              ^~
   fs/cifs/smb2transport.c:415:27: error: 'struct cifs_ses' has no member named 'preauth_sha_hash'
     d->context.iov_base = ses->preauth_sha_hash;
                              ^~

vim +403 fs/cifs/smb2transport.c

   395	
   396	{
   397		struct derivation_triplet triplet;
   398		struct derivation *d;
   399	
   400		d = &triplet.signing;
   401		d->label.iov_base = "SMBSigningKey";
   402		d->label.iov_len = 14;
 > 403		d->context.iov_base = ses->preauth_sha_hash;
   404		d->context.iov_len = 64;
   405	
   406		d = &triplet.encryption;
   407		d->label.iov_base = "SMBC2SCipherKey";
   408		d->label.iov_len = 16;
   409		d->context.iov_base = ses->preauth_sha_hash;
   410		d->context.iov_len = 64;
   411	
   412		d = &triplet.decryption;
   413		d->label.iov_base = "SMBS2CCipherKey";
   414		d->label.iov_len = 16;
   415		d->context.iov_base = ses->preauth_sha_hash;
   416		d->context.iov_len = 64;
   417	
   418		return generate_smb3signingkey(ses, &triplet);
   419	}
   420	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux