Skip to content

etsec: (TYPE_)ETSEC_COMMON macro cleanup

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2etsec: Rename (TYPE_)ETSEC_COMMON to (TYPE_)ETSEChw/net/fsl_etsec/etsec.c hw/net/fsl_etsec/etsec.h hw/ppc/e500.c+8 -80 replies
2/2etsec: Use TYPE_ETSEC macro when registering/creating devicehw/net/fsl_etsec/etsec.c+2 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéFabien Chouteau
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH for-2.10 0/2] etsec: (TYPE_)ETSEC_COMMON macro cleanup

When working on other things, I got confused by the etsec code, that didn't use the TYPE_ETSEC_COMMON macro in its type declaration, and had no subclasses despite being named ETSEC_COMMON.

This is a very simple cleanup to remove the _COMMON suffix from the macros, and to use the TYPE_ETSEC macro when registering and creating devices instead of hardcoding the "eTSEC" name.

Cc Alexander Graf <[email protected]>
Cc Scott Wood <[email protected]>
Cc Jason Wang <[email protected]>
Cc Fabien Chouteau <[email protected]>

Eduardo Habkost (2):
etsec: Rename (TYPE_)ETSEC_COMMON to (TYPE_)ETSEC
etsec: Use TYPE_ETSEC macro when registering/creating device

 hw/net/fsl_etsec/etsec.h |  6 +++---
 hw/net/fsl_etsec/etsec.c | 10 +++++-----
 hw/ppc/e500.c            |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.11.0.259.g40922b1