🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #16538

Re: [PATCH net-next v02 3/5] hinic3: fix some checkpatchs.

#16538
From: netdev-bot+sashiko
Date: Sun, 15 Nov 2026 04:56
65 lines
10512 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] The commit "hinic3: fix some checkpatchs." changes only style,
  but it carries `Fixes: 73f37a7e1993 ("hinic3: Queue pair resource…
- [Low] The commit message is only the subject "hinic3: fix some
  checkpatchs." plus the `Fixes:` tag and sign-offs.

--

hinic3: fix some checkpatchs.

This commit renames the trxq_params parameter to q_params in
hinic3_alloc_channel_resources() and hinic3_free_channel_resources().
It also moves the return type of both functions onto its own line.
Nothing else in the code changes.

> hinic3: fix some checkpatchs.

[Severity: Low]
This isn't a bug, but the commit message has nothing besides the subject
and the tags.

It doesn't say which checkpatch warning is being fixed. The old
continuation lines were about 87 columns wide. Default checkpatch
(max_line_length=100) doesn't flag that, so only an 80 column run would
report them.

It also doesn't mention the trxq_params -> q_params rename, or that the
change has no functional effect.

Could a short description be added? checkpatch itself warns when the
commit description is missing.

> Fixes: 73f37a7e1993 ("hinic3: Queue pair resource initialization")

[Severity: Low]
Is the Fixes: tag appropriate here?

In drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c, the diff
renames trxq_params to q_params. It also re-wraps the signatures of
hinic3_alloc_channel_resources() and hinic3_free_channel_resources().

No expressions, calls, ordering or error paths change. The callers are
untouched, and the generated code should be the same.

Commit 73f37a7e1993 did add these functions, but this patch doesn't fix
a bug in them.

The other patches in this series are fixes aimed at net. Examples are
"hinic3: Solve an stall issue in hinic3_rx_poll()" and "hinic3: Avoid
concurrent updates on 32-bit systems.".

With the tag, could this cosmetic change be taken into net? Could stable
or AUTOSEL then pick it up for every tree that contains 73f37a7e1993?

Would it be better to drop this patch from the fix series, or to resend
it to net-next without the Fixes: tag?

-- 
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/cover.1794371175.git.gongfan1%40huawei.com
Technical Details
Message-ID: <179471861453.2199510.9158722374869867897@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363566-linux-kernel-netdev=dewy.ru
References: <a9a5d01e087f5240b514bdf878162a3f42f7291a.1794371175.git.gongfan1@huawei.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-363566-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v02 3/5] hinic3: fix some checkpatchs.
Date: Sun, 15 Nov 2026 04:56:54 +0000
Organization: Usenet Network
Message-ID: <179471861453.2199510.9158722374869867897@kernel.org>
References: <a9a5d01e087f5240b514bdf878162a3f42f7291a.1794371175.git.gongfan1@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1732043"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:/WAY1rg6MSlDAoU7wMOZyNqqdS4= sha256:o54OollUbUVsTDqsVYMDUo0qkion1c+0pDWkQztFkyI=
	sha1:V0H++hgU+oh1bwqb8HJ7KJwWnD0= sha256:/oDq498KdPd1lBdfa7Ymqdp6QxsecfCofhGKGqqX6V8=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id DC887125D3B; Sun, 15 Nov 2026 07:57:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id sTRFZTbI7TKE;
	Sun, 15 Nov 2026 07:57:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-363566-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6BF50125D3D; Sun, 15 Nov 2026 07:57:24 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 3D3FE3CEEA; Sun, 15 Nov 2026 04:57:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794718617;
	b=k2S/mAE3FxUj7I+cB5LRf/iTZKHRdgrgEF4PuEDPUPYXIUuYeAQFNutRAh+fckTr+K6B
	 udpzzxgmEE3T6p0zB1YvcgePw5gbQcYNZxbd/eFxfn4D2h4UYpIZw6sl4we3B+G2F9G7a
	 NBwTRrTF8sp6YWGQmR9iT1J6kygKKr1YoKrLX4K6M2lNkA00eosTfSohq1x4rRBn1rjLe
	 4qtSVMhNxB4cV2/RyE+yrxG5rQyG8jox318wITZyIt0N/Z+vy7KMUDRtg/KfhzikCTB/j
	 7NzW9L/tzjRyvEP7CFP13wrh2MF6FIjMCSaVa8JBgUS5uv2aMYhZlY39Jv8UuRXKUNg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794718617;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=/fmDDtqLSG4Bq7qUyj2IQPO7WGyW7QN3QsMqxKbW2rU=;
	b=p3H4dz3ofKAg2QDG+w+5knzrnI73o+MCdeBJNsmQNn5rSqvBOIZDVIF0cTv+DiYgbsNp
	 17aXl53SxGwB1DAxMgWCPcueCxAcjA/xlgEi5TZC41IzNO1fwx2es5FR0fYet9DyiuJcc
	 xc8MDqVPB1Ye7O1run/oAHqF/843m22cLStUubPyz5FSuz4QemfNlTJYRmvEpOCgbzMz2
	 CWQgIXqRsOu3X9MENsWDHnNKWxNmdFXQiIU3AYehCZR+fD2nMO73zn9TewAzwkz6adLZs
	 oA5cqMBbaqRRi+PD3A3PoTNx6srg1fJVZaUucHAgEHQUwaSiqE65hzq/7U/YyQ/4Naw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LIgFDQNC;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F550606A8AC;
	Sun, 15 Nov 2026 04:56:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LIgFDQNC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794718616;
	b=CUFcF5Jkpxkg0M2wiPBG3EQcxtm2lOzjgOms5QpglLL6juPHFK4gjkHxnqJUzWLvZvVv
	 nzSDG4QgTfdpa6647jS5+JOw10A+JaIkddHnY2IQJLxTR+atkG5X035V8qF21Xu8JZWQr
	 ZtcmwO642sgG2oyYglkmTARA3c6aW0CwZ27HMsVhS6ya23bmjpyPOxpFB04nXUJPUd21K
	 OV9ZLfNdV3ijKAhYdeioeHG2uZ9Qbp0oD7/sXlJ62ciOOA9qpCbCJvRjqZ4HVI59rV76r
	 gvcI81aC6zkDxX0r1e0cBICkG0R0u4lCvJjOjOnztNtihtjmYnlFdP+kCQWrPn0c6EQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794718616;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=/fmDDtqLSG4Bq7qUyj2IQPO7WGyW7QN3QsMqxKbW2rU=;
	b=U2CIQEsVCbYZVGbxj47SQ9366KAwV3N27AfTSRCCUl9Mgcko1FXUTB3MLcUJX/BOFhu9
	 wTu3pUIy2Yl0q6lUuFVhGtb1+wVutFRi+0YgQBfooONl3EW6HXoGUI1yAgd7QW9A1hF4e
	 VWoEzUgui1bbMBikPG9c5yPpK4hyl80VSNOF4yM96wBHp7es0dnYcjRLhk42VYG0qC00V
	 NOqkZtr9I4oFjpCSiPKm8Kd9eiKMqo9m07lFlrTLk8Lcv+WXIw9LeFPePYO19C2JHE1aM
	 9lCQBNgRoq2I3OK4Fz8mahhl6CBHsYFDzCnoN5D7NXn0MfrwtuIr1khtsw835o9L3+A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=LIgFDQNC;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DB7F606A89F;
	Sun, 15 Nov 2026 04:56:56 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3FBC1F000C4;
	Sun, 15 Nov 2026 04:56:54 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794718616;
	bh=/fmDDtqLSG4Bq7qUyj2IQPO7WGyW7QN3QsMqxKbW2rU=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=LIgFDQNCDwCzENyuWP9mZTSbKM1WfkSuvHNEHhpLRsUPG2Yv0EO5A2E5datvG9cuL
	 j1aKD2T3wJ0ZRHoTNYC85BYEVY2yqzxKkr7Ab6AQduc6v3ZzbmnKYa+Dfl2+z18SWz
	 VWIif5+YgQ85rBGEts22Im13N0Oi80b//Q1DbV2rho4T1RcM26QzUwf4NKdo9262KG
	 1Qm8D/q9PThXUX5yZHWSKcmQ7ZCFDWszwyw61kcxD3RUUrtjbgjWqRHm9iWsEk9S6x
	 vOfRoXzyTmd5scF04OtdzBEmftkdql00HR/2Qjo3WoxUFOWWM1qlpLRZ0SsfdXfxKV
	 AHst4D/6SCRZQ==
X-Cc: wudi234@huawei.com, tengpeisen@huawei.com, netdev@vger.kernel.org,
 davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
 horms@kernel.org, andrew+netdev@lunn.ch, ioana.ciornei@nxp.com,
 maxime.chevallier@bootlin.com, mohsin.bashr@gmail.com,
 dimitri.daskalakis1@gmail.com, hramamurthy@google.com,
 larysa.zaremba@intel.com, vadim.fedorenko@linux.dev,
 linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
 zhoushuai28@huawei.com, wulike1@huawei.com
X-In-Reply-To: <a9a5d01e087f5240b514bdf878162a3f42f7291a.1794371175.git.gongfan1@huawei.com>
X-sashiko-severity: Low
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list