Hi all, Today's linux-next merge of the cifs tree got a conflict in: fs/ksmbd/smb2pdu.h between commit: 5224f7909617 ("treewide: Replace zero-length arrays with flexible-array members") from Linus' tree and commit: be1350004392 ("smb3: move defines for query info and query fsinfo to smbfs_common") from the cifs tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc fs/ksmbd/smb2pdu.h index d49468426576,4db2896b977b..000000000000 --- a/fs/ksmbd/smb2pdu.h +++ b/fs/ksmbd/smb2pdu.h @@@ -818,13 -402,9 +402,9 @@@ struct smb2_file_stream_info __le32 StreamNameLength; __le64 StreamSize; __le64 StreamAllocationSize; - char StreamName[0]; + char StreamName[]; } __packed; - struct smb2_file_eof_info { /* encoding of request for level 10 */ - __le64 EndOfFile; /* new end of file value */ - } __packed; /* level 20 Set */ - struct smb2_file_ntwrk_info { __le64 CreationTime; __le64 LastAccessTime;
Attachment:
pgpIC4zzruSvj.pgp
Description: OpenPGP digital signature