Messages in this thread |  | | Date | Wed, 11 Nov 2009 20:50:29 -0200 | | Subject | Re: [PATCH] ata: Clean up hard coded array size calculation. | | From | Thiago Farina <> |
| |
On Wed, Nov 11, 2009 at 8:37 PM, Mark Lord <liml@rtr.ca> 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.
|  |