commit | 044f21dd0d4f62519aae9f1d53a026407a0b664f | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <[email protected]> | Thu Feb 01 14:21:36 2018 -0500 |
committer | Daniel P. Berrangé <[email protected]> | Fri Feb 02 17:04:00 2018 +0000 |
tree | e609e7e3957e97eb476e5efb80a0b26604ef84da | |
parent | 7779876a6b06755e3bb2c94ee3ded50635bcb0fa [diff] |
add header file generators keymap-gen can create header files that include the length of the array. Using ARRAY_SIZE on the array becomes then possible, and this can be preferrable to the "x_len" symbols because static analysis cannot necessarily see the value of "x_len". Signed-off-by: Paolo Bonzini <[email protected]>