Am 3. März 2026 11:27:18 UTC schrieb Peter Maydell <[email protected]>: >On Mon, 2 Mar 2026 at 22:03, Bernhard Beschow <[email protected]> wrote: >> >> There is no "is_load" flag and one can tell from the method name what >> the method does. Remove this unhelpful comment. >> >> Signed-off-by: Bernhard Beschow <[email protected]> >> --- >> hw/char/serial.c | 3 --- >> 1 file changed, 3 deletions(-) >> >> diff --git a/hw/char/serial.c b/hw/char/serial.c >> index 2c558cb9fc..f73de1ae4f 100644 >> --- a/hw/char/serial.c >> +++ b/hw/char/serial.c >> @@ -281,9 +281,6 @@ static void serial_xmit(SerialState *s) >> s->lsr |= UART_LSR_TEMT; >> } >> >> -/* Setter for FCR. >> - is_load flag means, that value is set while loading VM state >> - and interrupt should not be invoked */ >> static void serial_write_fcr(SerialState *s, uint8_t val) >> { >> /* Set fcr - val only has the bits that are supposed to "stick" */ > >This must be an ancient stale comment from before the device >was converted to vmstate. Yeah, "stale" seems like a better fit. Will change in v2. Best regards, Bernhard > >Reviewed-by: Peter Maydell <[email protected]> > >thanks >-- PMM
- Re: [PATCH 09/12] util/fifo8: Make all read-only met... Peter Maydell
- [PATCH 06/12] hw/char/serial: Add constants for Line Cont... Bernhard Beschow
- Re: [PATCH 06/12] hw/char/serial: Add constants for ... Peter Maydell
- [PATCH 04/12] hw/char/serial: Reuse fifo8_num_used() Bernhard Beschow
- Re: [PATCH 04/12] hw/char/serial: Reuse fifo8_num_us... Peter Maydell
- [PATCH 10/12] hw/arm/aspeed_ast27x0-{ssp, tsp}: Do not ac... Bernhard Beschow
- [PATCH 05/12] hw/char/serial: Remove unhelpful comment Bernhard Beschow
- Re: [PATCH 05/12] hw/char/serial: Remove unhelpful c... Peter Maydell
- Re: [PATCH 05/12] hw/char/serial: Remove unhelpf... Bernhard Beschow
- [PATCH 11/12] hw/char: Have SerialState inherit from SysB... Bernhard Beschow
- Re: [PATCH 11/12] hw/char: Have SerialState inherit ... Peter Maydell
- Re: [PATCH 11/12] hw/char: Have SerialState inhe... Bernhard Beschow
- [PATCH 01/12] hw/arm/Kconfig: Fix serial selection for NP... Bernhard Beschow
- Re: [PATCH 01/12] hw/arm/Kconfig: Fix serial selecti... Peter Maydell
- [PATCH 03/12] hw/char/serial: Prefer fifo8 methods over o... Bernhard Beschow
- Re: [PATCH 03/12] hw/char/serial: Prefer fifo8 metho... Peter Maydell
- [PATCH 02/12] hw/char/serial: Remove explicit cast from v... Bernhard Beschow
- Re: [PATCH 02/12] hw/char/serial: Remove explicit ca... Peter Maydell
- [PATCH 08/12] hw/char/serial: Avoid implicit conversion w... Bernhard Beschow
