Re: [Qemu-devel] [PATCH 2/4] checkpatch: There is no qemu_strtod()

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 18:20, Markus Armbruster wrote: > Eric Blake writes: > >> Maybe there should be; but until there is, we should not flag >> strtod() calls as something to replaced with qemu_strtod(). >> >> We also lack qemu_strtof() and qemu_strtold(), but as no one >> has been using strtof() or s

Re: [Qemu-devel] [PATCH 2/4] checkpatch: There is no qemu_strtod()

2016-06-16 Thread Markus Armbruster
Eric Blake writes: > Maybe there should be; but until there is, we should not flag > strtod() calls as something to replaced with qemu_strtod(). > > We also lack qemu_strtof() and qemu_strtold(), but as no one > has been using strtof() or strtold(), it's not worth complicating > the regex for the

[Qemu-devel] [PATCH 2/4] checkpatch: There is no qemu_strtod()

2016-06-09 Thread Eric Blake
Maybe there should be; but until there is, we should not flag strtod() calls as something to replaced with qemu_strtod(). We also lack qemu_strtof() and qemu_strtold(), but as no one has been using strtof() or strtold(), it's not worth complicating the regex for them. (Ironically, I had to use 'g