From: Greg KH <greg@kroah.com>
To: cgel.zte@gmail.com
Cc: pbonzini@redhat.com, shuah@kernel.org,
deng.changcheng@zte.com.cn, mlevitsk@redhat.com,
kvm@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org, Zeal Robot <zealci@zte.com.cn>
Subject: Re: [PATCH] KVM: selftests: use ARRAY_SIZE
Date: Wed, 24 Nov 2021 10:46:03 +0100 [thread overview]
Message-ID: <YZ4J23oFTTDpjSa8@kroah.com> (raw)
In-Reply-To: <20211124092256.37966-1-deng.changcheng@zte.com.cn>
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
next prev parent reply other threads:[~2021-11-24 9:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 9:22 [PATCH] KVM: selftests: use ARRAY_SIZE cgel.zte
2021-11-24 9:46 ` Greg KH [this message]
2021-11-26 10:31 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YZ4J23oFTTDpjSa8@kroah.com \
--to=greg@kroah.com \
--cc=cgel.zte@gmail.com \
--cc=deng.changcheng@zte.com.cn \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mlevitsk@redhat.com \
--cc=pbonzini@redhat.com \
--cc=shuah@kernel.org \
--cc=zealci@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).