Files
qemu-esp-boards/include
Michael S. Tsirkin ed63ec0d22 ARRAY_SIZE: check that argument is an array
It's a familiar pattern: some code uses ARRAY_SIZE, then refactoring
changes the argument from an array to a pointer to a dynamically
allocated buffer.  Code keeps compiling but any ARRAY_SIZE calls now
return the size of the pointer divided by element size.

Let's add build time checks to ARRAY_SIZE before we allow more
of these in the code-base.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-02-01 03:37:17 +02:00
..
2016-10-19 10:09:24 +01:00
2017-01-24 13:10:35 -08:00
2017-01-23 15:32:46 +00:00
2017-01-24 23:26:53 +03:00
2017-01-27 18:08:00 +01:00
2017-01-27 18:08:00 +01:00
2017-01-24 13:10:35 -08:00
2016-10-26 08:29:00 -07:00