xemu/hw/net/rocker
Stefan Hajnoczi f18793b096 compiler: add a sizeof_field() macro
Determining the size of a field is useful when you don't have a struct
variable handy.  Open-coding this is ugly.

This patch adds the sizeof_field() macro, which is similar to
typeof_field().  Existing instances are updated to use the macro.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180614164431.29305-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-27 13:01:40 +01:00
..
qmp-norocker.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
rocker_desc.c net/rocker: Remove the dead error handling 2017-09-08 08:17:37 +08:00
rocker_desc.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_fp.c rocker: drop an unused include 2018-06-01 19:20:37 +03:00
rocker_fp.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_hw.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_of_dpa.c compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
rocker_of_dpa.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_tlv.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker_world.c net/rocker: Remove the dead error handling 2017-09-08 08:17:37 +08:00
rocker_world.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
rocker.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
rocker.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00