Hello Alexandre,
just some minor nitpicking on the commit log:
On Tue, Nov 25, 2014 at 04:20:45PM +0900, Alexandre Courbot wrote:
Although gpiod_get_direction() can be considered side-effect free fors/ is/ if/, and I think s/parameter/variable to non-const/
consumers, its internals involve setting or clearing bits in the
affected GPIO descriptor, for which we need to force-cast the const
descriptor parameter. This could lead to incorrect behavior is the
compiler decide to optimize here, so remove this const parameter. Thes/decide/decides/; s/parameter/attribute/
intent is to make gpiod_get_direction() private anyway, so it does notAcked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
really matter.
Reported-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>