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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B5DAFF8875 for ; Tue, 28 Apr 2026 22:55:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 21AB56104C; Tue, 28 Apr 2026 22:55:01 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id s-OUXcd3E9G7; Tue, 28 Apr 2026 22:54:59 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org F37CD61057 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1777416898; bh=TD3g81YgYyk+ev+8kkfCadZc9PhNHKB3ZIvkWb2+QeU=; h=Date:From:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=VjrD+YWDj0e8PUwnBYOOJn+8Rr3SYXxZghRhQ0zxZ7udacK50OzHiSL+qfVLgfEqR fsT5RnSw9ET9AHhGXIS3b1zLOeKnV0VS4oXhcntkkWfhjKVGeT+P2E8KCGZLaaqTjn WcssRCHMk35dm51Tm2/OU2XJ12fSaIw9CDl1eXa60GZ0vcjw4iBEqidCQUoiQhU5Mz 0+IkpvFby0O42NZsj4X+NwTMPS4pZ5qy9r2GPjHNg07J39PABN+jGWnieKMyjIukgb Rao+NMgr8OGSCm8EUO49DYx/7fgtFrKLjBkNtXb5rFpcwdGFV9MUruxE2lWnOMhiJ7 NPnE8Ot/rc2IA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id F37CD61057; Tue, 28 Apr 2026 22:54:57 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 283FF1B8 for ; Tue, 28 Apr 2026 15:01:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0881E403D7 for ; Tue, 28 Apr 2026 15:01:52 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id aCFwWzFQ2pLU for ; Tue, 28 Apr 2026 15:01:47 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::52f; helo=mail-ed1-x52f.google.com; envelope-from=error27@gmail.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 44C0E403C3 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 44C0E403C3 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by smtp2.osuosl.org (Postfix) with ESMTPS id 44C0E403C3 for ; Tue, 28 Apr 2026 15:01:47 +0000 (UTC) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-678e678970fso5429912a12.2 for ; Tue, 28 Apr 2026 08:01:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777388505; x=1777993305; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TD3g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nY+g1Bm9apA IHKGGBWJofEXJsceLaFUis6NHL13OsxpcBgPMRmeNg X-Received: by 2002:a17:907:3d45:b0:bae:70db:91f5 with SMTP id a640c23a62f3a-bb803e5c931mr212259066b.35.1777388504521; Tue, 28 Apr 2026 08:01:44 -0700 (PDT) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bb80ba9b8c8sm110829466b.48.2026.04.28.08.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Apr 2026 08:01:43 -0700 (PDT) Date: Tue, 28 Apr 2026 18:01:39 +0300 From: Dan Carpenter To: Przemek Kitszel Cc: Jakub Raczynski , netdev@vger.kernel.org, kuba@kernel.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Message-ID: References: <20260428103653.3539239-1-j.raczynski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailman-Approved-At: Tue, 28 Apr 2026 22:54:54 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777388505; x=1777993305; darn=lists.osuosl.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TD3g81YgYyk+ev+8kkfCadZc9PhNHKB3ZIvkWb2+QeU=; b=oUlBtUYjZ/LElw0Do6x2tSiUOCJ6tM4m1x3INcCvzao88Vi9mMDco3ts7vQ+pNNMpO YZf9owZ9ChGt/ddn1keVJqi9CxhTKd+ExUynuEt28rQuQ7tqy1DHu52mSsjhG5vGb2X+ vQzM1c+kareKBXcDratnpGMucvSNjqGHZkRpYYdXkRum5GlsZDh+tcrx+LOnADknhwTV 5I8p/uv52DZrhuMizi/gpgF+tcu6Nks4WDaQuiggX+izmJ40zhe1q6H7D9HKdbvqpKjz vJfDMsIuT5mnI9mAuSY5xn8cAQ7dI6D+XyJcCLvctcWolWX0446v1+SLLWZ55Fsajn4e IOWQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=oUlBtUYj Subject: Re: [Intel-wired-lan] [PATCH v3 net-next] net/intel: Replace manual array size calculation with ARRAY_SIZE X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Tue, Apr 28, 2026 at 04:06:48PM +0200, Przemek Kitszel wrote: > On 4/28/26 12:36, Jakub Raczynski wrote: > > There are still places in the code where manual calculation of array size > > exist, but it is good to enforce usage of single macro through the whole > > code as it makes code bit more readable. > > While at it, beautify condition surrounding it by reversing check and remove > > unnecessary casting. > > > > Signed-off-by: Jakub Raczynski > > Reviewed-by: Dan Carpenter > > thank you, > Reviewed-by: Przemek Kitszel > > (next time use "iwl-next" in the title, no need to repost just for that) > Which sub directories go through iwl-next? I was trying to update my script > > > > drivers/net/ethernet/intel/i40e/i40e_adminq.h | 2 +- > > drivers/net/ethernet/intel/iavf/iavf_adminq.h | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) but look at these file names. There is no "iwl" anywhere in the names! :( regards, dan carpenter