[libvirt] [PATCHv2 21/27] node_device: avoid implicit int
Matthias Bolte
matthias.bolte at googlemail.com
Wed Jul 13 13:08:59 UTC 2011
2011/7/8 Eric Blake <eblake at redhat.com>:
> 'unsigned a' and 'unsigned int a' are synonyms, but we generally
> always spell out the 'int' in that case. Fixing this will avoid
> a false positive in the next syntax-check commit.
>
> * src/conf/node_device_conf.h (pci_config_address)
> (_virNodeDevCapsDef): Prefer 'unsigned int' over 'unsigned'.
> ---
>
> v2: new patch.
> I didn't add a syntax check for implicit int, though, as we have a
> lot of other cases of that. Rather, this was the only hit when
> grepping for 'unsigned flags'.
>
> src/conf/node_device_conf.h | 58 +++++++++++++++++++++---------------------
> 1 files changed, 29 insertions(+), 29 deletions(-)
ACK.
--
Matthias Bolte
http://photron.blogspot.com
More information about the libvir-list
mailing list