diff options
| author | 2015-10-09 00:55:17 +0530 | |
|---|---|---|
| committer | 2015-10-12 20:32:07 -0700 | |
| commit | 80fb74c38709fd12e73f33ae464b37821cb01136 (patch) | |
| tree | df5d6c162c21a57fafcca8e172c5b69edd98076a /scripts/stackusage | |
| parent | staging: lustre: llite: Remove useless cast on void pointer (diff) | |
Staging: sm750fb: Use ARRAY_SIZE macro
ARRAY_SIZE is more concise to use when the size of an array is divided
by the size of its first element.
Changes made using Coccinelle-
@@
type T;
T[] E;
@@
- (sizeof(E)/sizeof(E[...]))
+ ARRAY_SIZE(E)
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
