Re: [PATCH] ata: Clean up hard coded array size calculation.
From: Thiago Farina
Date: Wed Nov 11 2009 - 17:50:37 EST
On Wed, Nov 11, 2009 at 8:37 PM, Mark Lord <liml@xxxxxx> wrote:
> Looks like unnecessary churn and obfuscation to me.
Obfuscation? Are you saying that just because you wrote this code? So
what is the usage of a macro? I think you are having a defensive
position here.
The macro is self-explanatory, ARRAY_SIZE, so the macro gives you the
*size* of the array. You don't need to know how that is done, if you
want, just go to the declaration of the macro.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/