From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34FBAC433FE for ; Wed, 24 Nov 2021 09:46:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239113AbhKXJtX (ORCPT ); Wed, 24 Nov 2021 04:49:23 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:53787 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbhKXJtT (ORCPT ); Wed, 24 Nov 2021 04:49:19 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id AB7105805EB; Wed, 24 Nov 2021 04:46:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 24 Nov 2021 04:46:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=DWpYJHZ7C02OmWS9zpShdVrwGV4 F/Bj3lGFh/gah9uo=; b=mpVWzDRpZl3kZXdNXML588FQ6p1ZRiJPqRYCv8mTTRe JSiceWwZT36YAfjujBP82r4I4zEgbkXBnlaDXvOpi42jyHwXDJIVz2dvb+V4ZBCL fVWRwNIaZs85tgQx3lH7qHa8PuPxegE0SJn+szhmRYJjFw3t7jemI/yQaWfEiHeR oO4Knw/CiOGcgx4eeLU9LX2/6t//ET+vlDxTIB6GeI8fsM8O096FBDN70w/+v0UO kWSlLRA3GvYVPOJdxiNhucDwguonyIOqMOmjy8sW0rQAMzTYdMxIUrksC4yYjA4v Hw+Py/YWjyOBJWD4IcfJlgnGarIYZA5oxW3k/kvrAsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=DWpYJH Z7C02OmWS9zpShdVrwGV4F/Bj3lGFh/gah9uo=; b=F2ZlyobFkCLZ3UNk2B9Suj VNv/Iti2/QjKhW2dcThhWgroS/CDx0+Z3W96LFPXkr4ISYrD5MHMGb03Ak0mb1UK 71YfP0F6Id63ZLo96yt672o2Gj23kCO+B5jW2v5+tdOB6NSYV9WmSMbRsNfzJviI +0Lwk6BM/vIqaoMTMcoL88u1gXzr/bqHg0yzttd7/O6NtaLW3iHt7hCKnCRXM2z+ sCeVegzBh5sj+8+eOCFshui6oNwHhGhatTYZ9Ju2gnQ/j5eRdLTU1oUHzW6uhn5o j4JnWyAUA5vro61035S+R6wo5Dv4zygR9ynFk4kdt8SDJO28B1iHKoJzgR014jsg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrgeekgddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhmqeen ucggtffrrghtthgvrhhnpeevueehjefgfffgiedvudekvdektdelleelgefhleejieeuge egveeuuddukedvteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Nov 2021 04:46:07 -0500 (EST) Date: Wed, 24 Nov 2021 10:46:03 +0100 From: Greg KH 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 Subject: Re: [PATCH] KVM: selftests: use ARRAY_SIZE Message-ID: References: <20211124092256.37966-1-deng.changcheng@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211124092256.37966-1-deng.changcheng@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 24, 2021 at 09:22:56AM +0000, cgel.zte@gmail.com wrote: > From: Changcheng Deng > > Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. > > Reported-by: Zeal Robot > Signed-off-by: Changcheng Deng 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