diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-05-10 22:34:57 +0200 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-05-27 11:23:07 -0700 |
commit | 5932a46c8a419db4a6402ac8ae42953b4d4fef1e (patch) | |
tree | 7553bd6e4231119a67e9564fe193ae2e50ed1a36 /hw/display | |
parent | 06539ebc76b8625587aa78d646a9d8d5fddf84f3 (diff) |
hw/registerfields: Prefix local variables with underscore in macros
One can name a local variable holding a value as 'v', but it
currently clashes with the registerfields macros. To save others
to debug the same mistake, prefix the macro's local variables
with an underscore.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200510203457.10546-1-f4bug@amsat.org
Message-Id: <20200510203457.10546-1-f4bug@amsat.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions