Re: [PATCH v2] isdn: avm: Fix string plus integer warning from Clang

2019-01-19 Thread David Miller
From: Nathan Chancellor Date: Wed, 9 Jan 2019 22:41:08 -0700 > A recent commit in Clang expanded the -Wstring-plus-int warning, showing > some odd behavior in this file. > > drivers/isdn/hardware/avm/b1.c:426:30: warning: adding 'int' to a string does > not append to the string

Re: [PATCH v2] isdn: avm: Fix string plus integer warning from Clang

2019-01-10 Thread Nick Desaulniers
On Wed, Jan 9, 2019 at 9:42 PM Nathan Chancellor wrote: > > A recent commit in Clang expanded the -Wstring-plus-int warning, showing > some odd behavior in this file. > > drivers/isdn/hardware/avm/b1.c:426:30: warning: adding 'int' to a string does > not append to the string [-Wstring-plus-int]

[PATCH v2] isdn: avm: Fix string plus integer warning from Clang

2019-01-09 Thread Nathan Chancellor
A recent commit in Clang expanded the -Wstring-plus-int warning, showing some odd behavior in this file. drivers/isdn/hardware/avm/b1.c:426:30: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] cinfo->version[j] = "\0\0" + 1;