Messages in this thread | | | Date | Wed, 24 Nov 2021 10:46:03 +0100 | From | Greg KH <> | Subject | Re: [PATCH] KVM: selftests: use ARRAY_SIZE |
| |
On Wed, Nov 24, 2021 at 09:22:56AM +0000, cgel.zte@gmail.com wrote: > From: Changcheng Deng <deng.changcheng@zte.com.cn> > > Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Changcheng Deng <deng.changcheng@zte.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
| |