Re: [PATCH] perfmon: use ARRAY_SIZE() macro

2019-01-14 Thread Gustavo A. R. Silva
Hi, Friendly ping: Who can take this, please? Thanks -- Gustavo On 12/24/18 8:58 PM, Gustavo A. R. Silva wrote: Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element or, as in this particular case, sizeof the structure name. This issue was detected with the help of Coccinell

[PATCH] perfmon: use ARRAY_SIZE() macro

2018-12-24 Thread Gustavo A. R. Silva
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element or, as in this particular case, sizeof the structure name. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- arch/ia64/kernel/perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 dele