Re: [PATCH 6/9] gpiolib: devres: use correct structure type name in sizeof

From: Alexandre Courbot
Date: Wed Jul 30 2014 - 04:28:09 EST

On Wed, Jul 30, 2014 at 12:16 AM, Julia Lawall <Julia.Lawall@xxxxxxx> wrote:
> From: Julia Lawall <Julia.Lawall@xxxxxxx>
> Correct typo in the name of the type given to sizeof. Because it is the
> size of a pointer that is wanted, the typo has no impact on compilation or
> execution.
> This problem was found using Coccinelle ( The
> semantic patch used can be found in message 0 of this patch series.

Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Interestingly the compiler never complains despite gpiod_desc not
being a declared type...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at