[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YZ4J23oFTTDpjSa8@kroah.com>
Date: Wed, 24 Nov 2021 10:46:03 +0100
From: Greg KH <greg@...ah.com>
To: cgel.zte@...il.com
Cc: pbonzini@...hat.com, shuah@...nel.org, deng.changcheng@....com.cn,
mlevitsk@...hat.com, kvm@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] KVM: selftests: use ARRAY_SIZE
On Wed, Nov 24, 2021 at 09:22:56AM +0000, cgel.zte@...il.com wrote:
> From: Changcheng Deng <deng.changcheng@....com.cn>
>
> Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Changcheng Deng <deng.changcheng@....com.cn>
Your email address does not match these here, you need to provide a
signed-off-by as well.
And are you _SURE_ that you can use kernel #defines in userspace testing
code?
thanks,
greg k-h
Powered by blists - more mailing lists