Re: [PATCH 3/3] linux-user: Return void from queue_signal()

2022-01-18 Thread Laurent Vivier
Le 14/01/2022 à 16:37, Peter Maydell a écrit : The linux-user queue_signal() function always returns 1, and none of its callers check the return value. Give it a void return type instead. The return value is a leftover from the old pre-2016 linux-user signal handling code, which really did

Re: [PATCH 3/3] linux-user: Return void from queue_signal()

2022-01-14 Thread Philippe Mathieu-Daudé via
On 14/1/22 16:37, Peter Maydell wrote: The linux-user queue_signal() function always returns 1, and none of its callers check the return value. Give it a void return type instead. The return value is a leftover from the old pre-2016 linux-user signal handling code, which really did have a

[PATCH 3/3] linux-user: Return void from queue_signal()

2022-01-14 Thread Peter Maydell
The linux-user queue_signal() function always returns 1, and none of its callers check the return value. Give it a void return type instead. The return value is a leftover from the old pre-2016 linux-user signal handling code, which really did have a queue of signals and so might return a