Re: [PATCH AUTOSEL 4.18 39/65] fs/cifs: suppress a string overflow warning

2018-10-01 Thread Sasha Levin
On Mon, Oct 01, 2018 at 11:22:46AM +1000, Stephen Rothwell wrote: >Hi Sasha, > >On Mon, 1 Oct 2018 00:38:27 + Sasha Levin >wrote: >> >> From: Stephen Rothwell >> >> [ Upstream commit bcfb84a996f6fa90b5e6e2954b2accb7a4711097 ] >> >> A powerpc build of cifs with gcc v8.2.0 produces this warnin

Re: [PATCH AUTOSEL 4.18 39/65] fs/cifs: suppress a string overflow warning

2018-09-30 Thread Stephen Rothwell
Hi Sasha, On Mon, 1 Oct 2018 00:38:27 + Sasha Levin wrote: > > From: Stephen Rothwell > > [ Upstream commit bcfb84a996f6fa90b5e6e2954b2accb7a4711097 ] > > A powerpc build of cifs with gcc v8.2.0 produces this warning: > > fs/cifs/cifssmb.c: In function ‘CIFSSMBNegotiate’: > fs/cifs/cifss

[PATCH AUTOSEL 4.18 39/65] fs/cifs: suppress a string overflow warning

2018-09-30 Thread Sasha Levin
From: Stephen Rothwell [ Upstream commit bcfb84a996f6fa90b5e6e2954b2accb7a4711097 ] A powerpc build of cifs with gcc v8.2.0 produces this warning: fs/cifs/cifssmb.c: In function ‘CIFSSMBNegotiate’: fs/cifs/cifssmb.c:605:3: warning: ‘strncpy’ writing 16 bytes into a region of size 1 overflows t