Greg Kurz 825bfa0052 checkpatch: add hwaddr to @typeList
The script doesn't know about all possible types and learn them as
it parses the code. If it reaches a line with a type cast but the
type isn't known yet, it is misinterpreted as an identifier.

For example the following line:

    foo = (hwaddr) -1;

results in the following false-positive to be reported:

ERROR: spaces required around that '-' (ctx:VxV)

Let's add this standard QEMU type to the list of pre-known types.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <150538015789.8149.10902725348939486674.stgit@bahia.lan>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-19 16:20:49 +02:00
..
2017-03-03 16:40:02 +01:00
2017-07-20 09:56:41 +02:00
2017-07-11 17:42:49 +03:00
2015-10-12 18:44:54 +02:00
2017-09-04 13:09:13 +02:00
2015-10-29 17:59:27 +00:00
2017-09-18 11:32:22 +01:00
2017-09-15 20:12:00 -03:00