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
..
2018-06-07 12:17:22 +02:00
2018-06-11 22:19:57 +03:00
2018-02-09 13:50:17 +01:00
2018-06-15 15:23:34 +01:00
2018-06-26 17:50:42 +01:00
2018-06-25 13:57:57 +02:00
2018-06-15 16:30:27 +01:00
2018-01-22 09:51:00 +01:00
2018-06-15 15:23:34 +01:00
2018-06-18 09:15:51 +02:00
2017-12-18 17:07:02 +03:00
2018-06-01 14:15:10 +02:00
2018-06-27 13:01:40 +01:00
2018-06-26 17:50:40 +01:00
2018-06-01 15:14:31 +02:00
2018-06-04 10:15:16 +01:00
2018-06-26 17:50:40 +01:00
2018-06-25 14:10:01 -03:00
2018-06-25 16:50:48 -04:00
2018-06-26 17:50:40 +01:00
2018-06-22 13:28:36 +01:00
2017-10-15 05:54:43 +03:00
2018-06-12 12:07:30 +02:00
2018-06-16 19:46:54 -10:00
2018-06-01 14:15:10 +02:00
2018-06-15 15:23:34 +01:00
2018-05-23 17:02:03 +03:00
2018-06-01 14:15:10 +02:00
2018-06-08 13:15:33 +01:00
2018-06-26 17:50:42 +01:00
2018-04-26 13:57:00 +01:00
2018-06-27 13:01:40 +01:00
2018-04-26 13:57:00 +01:00
2018-06-01 18:24:16 +01:00
2018-04-26 13:57:00 +01:00
2018-03-20 15:48:34 +00:00
2018-02-13 16:33:31 +00:00
2018-06-12 09:33:52 +10:00
2018-06-22 14:19:07 +10:00
2018-05-03 20:52:29 +03:00
2018-06-01 14:15:10 +02:00
2018-06-18 10:50:32 +02:00
2018-06-15 14:49:44 +02:00
2018-06-26 17:50:40 +01:00
2018-06-15 15:23:34 +01:00
2018-02-09 13:52:16 +01:00
2018-06-17 11:12:53 +01:00
2018-06-17 11:12:41 +01:00
2018-06-26 17:50:40 +01:00
2018-06-26 17:50:42 +01:00
2018-05-24 12:07:04 -04:00
2018-03-12 16:12:46 +01:00
2018-03-12 16:12:48 +01:00
2018-06-18 09:15:51 +02:00
2018-06-18 10:50:32 +02:00
2018-06-15 15:23:34 +01:00
2018-06-15 15:23:34 +01:00
2018-06-22 13:28:42 +01:00
2018-02-06 18:29:46 +01:00
2018-06-01 14:15:10 +02:00
2018-06-01 15:14:31 +02:00