Re: [PATCH] fs/cifs: suppress a string overflow warning

2018-09-03 Thread Steve French
ok - it looks like it will be a little simpler if I wait On Mon, Sep 3, 2018 at 8:22 PM Stephen Rothwell wrote: > > Hi Steve, > > On Mon, 3 Sep 2018 09:44:17 -0500 Steve French wrote: > > > > Merged into cifs-2.6.git for-next > > > > Is the message annoying enough on powerpc to merit going into >

Re: [PATCH] fs/cifs: suppress a string overflow warning

2018-09-03 Thread Stephen Rothwell
Hi Steve, On Mon, 3 Sep 2018 09:44:17 -0500 Steve French wrote: > > Merged into cifs-2.6.git for-next > > Is the message annoying enough on powerpc to merit going into > 4.19-rc3, presumably should wait for 4.20? Up to you, but 4.20 is probably fine. -- Cheers, Stephen Rothwell pgpVVMPAqfPF

Re: [PATCH] fs/cifs: suppress a string overflow warning

2018-09-03 Thread Steve French
Merged into cifs-2.6.git for-next Is the message annoying enough on powerpc to merit going into 4.19-rc3, presumably should wait for 4.20? On Sun, Sep 2, 2018 at 10:24 PM Stephen Rothwell wrote: > > A powerpc build of cifs with gcc v8.2.0 produces this warning: > > fs/cifs/cifssmb.c: In function

[PATCH] fs/cifs: suppress a string overflow warning

2018-09-02 Thread Stephen Rothwell
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 the destination [-Wstringop-overflow=] strncpy(pSMB->DialectsArray+count, protocols[i