diff options
| author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2021-02-26 23:28:43 +0000 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2021-02-28 22:03:54 +0100 |
| commit | a5485e637222b988cf9d4300b0b58caf04f985a8 (patch) | |
| tree | 5f7133bf4ee01f438691e35bd06335ac81d37d60 /validation | |
| parent | eaceeafad39ade20c28b6634d30379763511c6e6 (diff) | |
| download | sparse-dev-a5485e637222b988cf9d4300b0b58caf04f985a8.tar.gz | |
linearize.h: fix some 'selfcheck' warnings
Commits 34c57a7f ("asm-mem: does it clobber memory?", 2021-02-20) and
d6721b38 ("asm-mem: does it output to memory?", 2021-02-20) both add
a single bit bitfield to the 'struct asm' part of the union contained
within the 'struct instruction'. This causes the 'selfcheck' target
to issue several 'dubious one-bit signed bitfield' errors.
In order to suppress these errors, change the type of the bitfields to
an unsigned type.
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions
