Re: [PATCH v2] monitor: Use LOCK_GUARD macros

2020-09-24 Thread Philippe Mathieu-Daudé
On 9/24/20 11:17 AM, Dr. David Alan Gilbert wrote: > * Dr. David Alan Gilbert (git) (dgilb...@redhat.com) wrote: >> From: "Dr. David Alan Gilbert" >> >> Use the lock guard macros in monitor/misc.c - saves >> a lot of unlocks in error paths, and the occasional goto. >> >> Signed-off-by: Dr. David A

Re: [PATCH v2] monitor: Use LOCK_GUARD macros

2020-09-24 Thread Dr. David Alan Gilbert
* Dr. David Alan Gilbert (git) (dgilb...@redhat.com) wrote: > From: "Dr. David Alan Gilbert" > > Use the lock guard macros in monitor/misc.c - saves > a lot of unlocks in error paths, and the occasional goto. > > Signed-off-by: Dr. David Alan Gilbert Queued > -- > v2: > The file changed qui

[PATCH v2] monitor: Use LOCK_GUARD macros

2020-09-22 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Use the lock guard macros in monitor/misc.c - saves a lot of unlocks in error paths, and the occasional goto. Signed-off-by: Dr. David Alan Gilbert -- v2: The file changed quite a bit since my original posting, so reworked. --- monitor/misc.c | 44