On Mon, 14 Jun 2021 at 19:56, Ahmed Abouzied <em...@aabouzied.com> wrote: > > Replaces TABs with spaces, making sure to have a consistent coding style > of 4 space indentations in the net subsystem. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/377 > Signed-off-by: Ahmed Abouzied <em...@aabouzied.com> > --- > hw/net/can/ctu_can_fd_frame.h | 180 ++--- > hw/net/can/ctu_can_fd_regs.h | 1260 ++++++++++++++++----------------- > hw/net/e1000_regs.h | 30 +- > hw/net/mcf_fec.c | 8 +- > hw/net/ne2000.c | 138 ++-- > hw/net/pcnet.c | 136 ++-- > hw/net/pcnet.h | 4 +- > net/tap-linux.h | 10 +- > 8 files changed, 883 insertions(+), 883 deletions(-)
> diff --git a/hw/net/pcnet.c b/hw/net/pcnet.c > index dcd3fc4948..ba20afefc4 100644 > --- a/hw/net/pcnet.c > +++ b/hw/net/pcnet.c > @@ -370,7 +370,7 @@ static inline void pcnet_rmd_load(PCNetState *s, struct > pcnet_RMD *rmd, > uint32_t rbadr; > int16_t buf_length; > int16_t msg_length; > - } rda; > + } rda; > s->phys_mem_read(s->dma_opaque, addr, (void *)&rda, sizeof(rda), 0); > rmd->rbadr = le32_to_cpu(rda.rbadr) & 0xffffff; > rmd->buf_length = le16_to_cpu(rda.buf_length); Indent seems to not be right in this hunk ? thanks -- PMM