From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 388793D1701 for ; Wed, 29 Apr 2026 10:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777458304; cv=none; b=buoZsc9TJPhdXmMebaoh7fIR2qEeWQTRN7Kzu7NQhcu1c5kspRfYaqastDZRBW6kplQG1eFWAvVGTo6FVsfzHDbdUQlEiqqRmNthbJ4+AjD39W3P3sRXnWsaPGk3HyxUNCsYd6jRYff8+v46t1RZsZp22+KhR34Pak+7UF34xF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777458304; c=relaxed/simple; bh=CdrLN0lDSJ+qLPLvLukQjHPxitbeiKWzUTVI2etEt4Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EpnwHsqkW/amrRZtqPNx+MtGXx1ADGJyjIpigmf5ZkCUOS08UxOY5qKKDqXH1jcm+Opcl0FwPCTUnIdGyA0woIhW3X4PKw3MbhM3DJoHpIfEofbxc9rRdMLRJb7tO6dAKN8pKLBcxwWe0VDtCFk16nkgkvyiD7tgzhYLooz1PGM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=rVEZmKj2; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rVEZmKj2" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4891c00e7aeso95823065e9.2 for ; Wed, 29 Apr 2026 03:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777458300; x=1778063100; darn=vger.kernel.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=kGaorEyZYwXUrpqtvF2wYxBfD162OIEpEP/P+Q+kjPA=; b=rVEZmKj2VsWPCvddA8XUWLrhmR6+K5O49dRH0Z66+hvjBAdoh4k4ZOdT6OiHxHlRa4 SCZIAfhMaJ/n0IFcey01+cl1EJNaFwutrtvYRYTYvU1dq1eCv35f+cRU6pcb4v7jJu22 6KQfjf5RJyN4ip7x1Y2lgK1xAGaGVik/yhDOg+SU0zYBoX6exntqy+SHzo+CFeq0L+Ws hNV46f6vPPWxgn49MehDXrfM7KeYysHv2QhJBF6EWkj3K4wlEC/q7jh75PKZPQudxLZv A3UqMHTMcGiHFECdcOzuwh8t07S8aY1prV9fIMmJqo/247pV1nBFcUswGdwXTZJtDgtO KKWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777458300; x=1778063100; 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=kGaorEyZYwXUrpqtvF2wYxBfD162OIEpEP/P+Q+kjPA=; b=VE7dAQVywDqTt2CLs46S4oUqUeUHxh4qfwHaDi7YCBgng/0/R2mFxfCgQhpK2XAEA3 6LPIpsQaKDWQz44gQMbbv+FE4/ssVPRmHhbKuCb73ENP/Gh4N+Ohn3RDqVQRgmJNU/Fm qo1lH+pnNdvw2q2BGbRB9D/q1jiTAxmIprrAYy+kXNKsOt1S35HrdNS/Xm0/KlGHhZ7q 8wGSnFbM8m57AX5RTg5zZVTdUYIbcklKMTv6S5Cqg7C//nANEv7C+45GprwsmNojlN/F BipNHAJphw/lJUfXaufSq4FpYN2QuYY4KUXfL1sP835cMLv1ctBwTmd5laM+GeV2T/OQ cQrw== X-Forwarded-Encrypted: i=1; AFNElJ8RlKCiY8H7JBVn8ng1hRxkY2ZWBpSpWEwAX6eTzotkIEIzrfM2TDnNr+G9TqRH1BMZ8zT+Sa+Ie7p5cUY=@vger.kernel.org X-Gm-Message-State: AOJu0YxmihXtJH8UC/7ouqu2Tx/TOourSub/awo8EqS4H23lIF8PUZQG y0EzCnqqzzNV9JuzG+WdQPtQHwg2isBAlg6ar/2yEefeJkaM9/41Wqmp X-Gm-Gg: AeBDiesoOe01uVyYnxO51cbgVmeM9/tIUfFgR6nNwaXb5/nBtx85s5/u1D474j/1v7y GzGVqsU2NdusuNzIw8XscoraLznDNv55pMOco160s2Um8MlYN6tiznqDma5egudx6wcCpTOj1PZ ggJWSIampk6VBJqmilYSicaTph6w9WJenXWmOLiZLt1LGDtLOAw9VHbota5fvTepb2Kot3MY2wO kUYiYN2wxJQlr2tWAjZ23p4Idg02Pm/74GusUNrSQFJrwmO/Q6/4YkzgIK0bi0t0Y7OqVM/LEWk XAJKm/l84mkycUhPVJBeHvWFpysaM0AbdjTc5z/qaLnhAWrJ3npSO0UBCnbUB/odLYxrRjHDBgJ pgAWBwLm77t23y9n2eI5k68XqvS1+sDihAEiMfK1r2jGXBrVbCOqzih3Rc6YbVS/IeT6pHekjlu AuHXloKnyJtJjlUgXqVf2QowIQlDU4WuC0JE/Y2gio X-Received: by 2002:a05:600c:1c20:b0:489:1aed:1658 with SMTP id 5b1f17b1804b1-48a77b241admr115999145e9.23.1777458299919; Wed, 29 Apr 2026 03:24:59 -0700 (PDT) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48a7b9116efsm18185095e9.4.2026.04.29.03.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2026 03:24:59 -0700 (PDT) Date: Wed, 29 Apr 2026 13:24:55 +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 Subject: Re: [PATCH v3 net-next] net/intel: Replace manual array size calculation with ARRAY_SIZE Message-ID: References: <20260428103653.3539239-1-j.raczynski@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 29, 2026 at 11:01:46AM +0200, Przemek Kitszel wrote: > F: Documentation/networking/device_drivers/ethernet/intel/ > F: drivers/net/ethernet/intel/ > F: drivers/net/ethernet/intel/*/ > F: include/linux/avf/virtchnl.h > F: include/linux/net/intel/*/ > Fine. Thanks. I can add this. > Perhaps instead of you managing your script, and everybody else doing > the same, there could be some extension added to MAINTAINERS file to > encode the prefix? > > In our case, the prefix itself is a message for net maintainers: > iwl or iwl-next means the patch will go first via our tree, and be sent > later as a PR for net/net-next. > > Without the prefix it requires guessing what was the submitter intent. We don't have any intent. So long as it gets merged who cares how it happens? > Most patches that go through IWL receive additional round of testing on > real HW too, thanks to our VAL. > Patches that go straight to net are just merged faster. > As intel ethernet maintainer, I want our code tested more, instead of > merged faster (in most cases). All of this scripting could be done on your end. No matter how many dozens of people you educate to add a different prefix it's always going to be less reliable than just scripting it on your side. Anyway, here is the relevant bit from my script. The other subsystem that requires these is BPF but I only send bug reports for BPF issues. You also need to do a git fetch of all the trees with subsystem rules. regards, dan carpenter # Is this networking? if grep -q netdev $MAIL_FILE && ! grep -q wireless $MAIL_FILE ; then if [ "$FIXES_COMMIT" != "" ] ; then if git merge-base --is-ancestor $FIXES_COMMIT net/main ; then TREE="net" elif git merge-base --is-ancestor $FIXES_COMMIT net-next/main ; then TREE="net-next" else TREE="net-other" fi else TREE="net-next" fi fi # Is this Intel Wireless if grep -q -w /iwlwifi/ $MAIL_FILE ; then if [ "$FIXES_COMMIT" != "" ] ; then if git merge-base --is-ancestor $FIXES_COMMIT iwlwifi/fixes ; then TREE="iwlwifi" elif git merge-base --is-ancestor $FIXES_COMMIT iwlwifi/next ; then TREE="iwlwifi-next" else TREE="iwlwifi-other" fi else TREE="iwlwifi-next" fi fi # Otherwise if the commit is only required in next then put [PATCH next] # in the subject. if [ "$TREE" == "" ] ; then if [ "$FIXES_COMMIT" != "" ] ; then if ! git merge-base --is-ancestor $FIXES_COMMIT origin/master ; then TREE="next" fi fi fi