[PATCH 11/16] arch/arm/mach-pxa/palmtreo.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

Tomas Cech sleep_walker at suse.cz
Mon Aug 12 20:34:07 EDT 2013

On Sun, Aug 11, 2013 at 06:51:52PM +0200, Julia Lawall wrote:
>From: Julia Lawall <Julia.Lawall at lip6.fr>
>Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the
>arity of the called function.
>The semantic match that makes this change is as follows:
>// <smpl>
>expression e,f;
>+ e,ARRAY_SIZE(e)
>  ,...)
>// </smpl>
>Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>

I used to be happy with this macro as it improves readability.

but ack.

Tomas Cech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130813/699a1c41/attachment.sig>

More information about the linux-arm-kernel mailing list