On Tue, 2009-12-29 at 15:13 -0200, Luiz Capitulino wrote:

> > +    qdict_put(qdict, "gpio-in", qint_from_int(dev->num_gpio_in));
> > +    qdict_put(qdict, "gpio-out", qint_from_int(dev->num_gpio_out));
> 
>  Is this a boolean? If so you should use qbool_from_int().

It isn't, but they shouldn't be there anyway. I mistook them for IOPS
counters without checking, but it actually counts the number of entries
in the gpio_in/gpio_out array. They don't appear useful.



Reply via email to