Re: [Qemu-devel] [PATCH] dump: fix note_name_equal()

2017-12-12 Thread Andrew Jones
On Tue, Dec 12, 2017 at 04:09:09PM +0100, Marc-André Lureau wrote: > Use the function argument "name" instead of hardcoded > "VMCOREINFO". All callers use "VMCOREINFO" as argument, so this isn't > an exposed bug, thankfully. > > Simplify a little bit the code while touching this. > > Suggested-by

Re: [Qemu-devel] [PATCH] dump: fix note_name_equal()

2017-12-12 Thread Laszlo Ersek
On 12/12/17 16:09, Marc-André Lureau wrote: > Use the function argument "name" instead of hardcoded > "VMCOREINFO". All callers use "VMCOREINFO" as argument, so this isn't > an exposed bug, thankfully. > > Simplify a little bit the code while touching this. > > Suggested-by: Andrew Jones > Repor

[Qemu-devel] [PATCH] dump: fix note_name_equal()

2017-12-12 Thread Marc-André Lureau
Use the function argument "name" instead of hardcoded "VMCOREINFO". All callers use "VMCOREINFO" as argument, so this isn't an exposed bug, thankfully. Simplify a little bit the code while touching this. Suggested-by: Andrew Jones Reported-by: Laszlo Ersek Signed-off-by: Marc-André Lureau ---