Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp38814pxb; Wed, 18 Aug 2021 15:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPXYQ8kGwAumZAcm/+tJcASPt1Hl77RIsZtqPVd5AlkuCl9mntRmDMBX5v/L+B3qbQT087 X-Received: by 2002:a05:6638:250a:: with SMTP id v10mr6813606jat.21.1629325300151; Wed, 18 Aug 2021 15:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629325300; cv=none; d=google.com; s=arc-20160816; b=RaTb1G4Nw+HJv8Pxh8lYM/+bZALfMKDchM3bJYnXNF1nxHUylo8NzhXM826s/A+jNP cvoHEm913GTNsS0hsBe1Vwb/NuIRkmaxisbraiDb8O1QUrXps3Jp+QJGgFlT+c4VtifH Cd45TBZWGlKKbm/lMqaHsBtpnyN+0Rq7qVOWbOKcSVTpWSiO2F5uhSdx6FOtkwuXws+V 9aZ952BV/eQVqwKDfQRWl28mJhZvpR6RmwthJXLB1ODHCuVf2frsGNJHuJb6C9zgr3o7 995uyK4MThZMucOEi7NYkNtiilkNzpa4FLhuuUiUaiYzt8WqxMkfXVOXYbfWHueQ4uZC 7NCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=/8iRJ4VbDSugEia8BJu/bkbaYV2OqiDQEWP8IW0sRy8=; b=Sy9hsldDiDaSCHPrlSFo1Ov/aPqv1KEeyNct3tsXF2kgWrSlpmJG+YapNoPY72cz7z wg3m3MeO3Xr7SI0oT2eSPX2yYFLW37DfSCO2U5uDR2Y6w+I0/USZJ7/0kRRb7x2ht6ty nj6kAEzyLYRwNUMA0uPLa5dpWPXLOrKV6bzgZlrG2L8c07hmrHw1RmarTvqvVi5Gd1Af vIbnYg126qbel67i8k9SzROpuegOvULM7IGSV06r0TjNYL4H+4kv+cC43TkG+SW6LJHl k0nmbPXr+TEE8wA/4m9pFFmREcPg/AnEi63/8Rp+ZL9GRiuCZxxhyyYtICTP4hdNs8FE NoIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YDFrl/kA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si1107193jat.54.2021.08.18.15.21.28; Wed, 18 Aug 2021 15:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YDFrl/kA"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234624AbhHRWUl (ORCPT + 99 others); Wed, 18 Aug 2021 18:20:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:48524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234106AbhHRWUk (ORCPT ); Wed, 18 Aug 2021 18:20:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 976826103A; Wed, 18 Aug 2021 22:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629325205; bh=bqPkbAeTMqgeqxawU9F02qdmd7fXTAn8RsMvsk4nVng=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=YDFrl/kA78wWRsT/USYoTIzatOADCn8Te2TSCb3wTIPS1M+s4zL8TUytpMysB3svg uwvDqdlWt1nbf0Z3N5xirv+DBFnZacxD6J93k/jMSf6ZI+y2AQOsMhP8oyDH3IVRS4 MOLXEwSCkd8L0HU++50VQhTzDGxpG3aksZVbCDlk0ZdWz1MKeqRMpub1c7YOFNlSJD LkYwjVJuVIqBqnCpQwljUbXSzDm173yB6ZJiq1MthG3aMdZhpnDJdqUf+agrH21BNj Z2FR5qoi0UsSpPLIMDGCzVl5i3Xr0oVaX+wufYBHnjVbJvYBEzd1L5Rz4HgImvZRYN YPu39E07qTqQA== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 8A688609EB; Wed, 18 Aug 2021 22:20:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/mlx4: Use ARRAY_SIZE to get an array's size From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162932520556.31273.6111065884005742758.git-patchwork-notify@kernel.org> Date: Wed, 18 Aug 2021 22:20:05 +0000 References: <20210817121106.44189-1-wangborong@cdjrlc.com> In-Reply-To: <20210817121106.44189-1-wangborong@cdjrlc.com> To: Jason Wang Cc: kuba@kernel.org, davem@davemloft.net, tariqt@nvidia.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 17 Aug 2021 20:11:06 +0800 you wrote: > The ARRAY_SIZE macro is defined to get an array's size which is > more compact and more formal in linux source. Thus, we can replace > the long sizeof(arr)/sizeof(arr[0]) with the compact ARRAY_SIZE. > > Signed-off-by: Jason Wang > --- > drivers/net/ethernet/mellanox/mlx4/qp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - net/mlx4: Use ARRAY_SIZE to get an array's size https://git.kernel.org/netdev/net-next/c/19b8ece42c56 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html