Re: [PATCH] libftdi: pass eeprom strings as const

2020-01-15 Thread Thomas Jarosch
Hi Dan, You wrote on Tue, Jan 07, 2020 at 11:18:30AM -0500: > These strings are not modified and it doesn't make sense that they ever > would be. Setting these as const ensures that they will not be modified > and allows const strings to be passed in without special manipulation. > >

Re: [PATCH] libftdi: pass eeprom strings as const

2020-01-13 Thread Yegor Yefremov
On Tue, Jan 7, 2020 at 5:18 PM Dan Dedrick wrote: > > These strings are not modified and it doesn't make sense that they ever > would be. Setting these as const ensures that they will not be modified > and allows const strings to be passed in without special manipulation. > > Specifically a call

[PATCH] libftdi: pass eeprom strings as const

2020-01-07 Thread Dan Dedrick
These strings are not modified and it doesn't make sense that they ever would be. Setting these as const ensures that they will not be modified and allows const strings to be passed in without special manipulation. Specifically a call like the following will fail to compile: