From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout04.his.huawei.com (canpmsgout04.his.huawei.com [113.46.200.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43C7840F8F1; Tue, 20 Jan 2026 14:30:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.219 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768919406; cv=none; b=oKCzjA1ra3xN/kP6IRIg9JGOZmwmJ39g6obC5dQDVlfRXzLgD1+231A7Bj4NPhl22iM1qe/9pBn+m8ayQTqM8Kx10ptaXF6DZTSID4nvBHNApxd4lCaYf8rsnkspyBVFycVKP5onXPgEwrTzqsZgsoMh9Kftv+TqotDgDS07qiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768919406; c=relaxed/simple; bh=GJJxBVl/ChCYeskZ/WAStFbDDjrKJv9+4Bm/AQd5EjY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FR4lqrkC/l6DM+cE9BrV5DeUIfaU3Lhb6dBbMEtzOUzHzxhUVNTOLBTTlMpwauJ0Q05bjc9R9b3AU6knQU3TnivRrz5AGnLo5p8TUwwI1Kub9dR0SUoo8HqExsfAi6IXl6XA/8THxMKLmbQSGcxYFNhcO88O8+VWGtYv1olax24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=g58fS7u9; arc=none smtp.client-ip=113.46.200.219 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="g58fS7u9" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=Pc4QhX2FrFGoxvelexjtpvyVwVFTxxhfJ2JkUXZ+Vx0=; b=g58fS7u9Rq5eHrE498axQ2lQ+B+fUBq2qUpg1ZeMdEhQ5NIfLZLI3222DsKSrb6HhVQUJx+SM Fm6x+qjMPzPkPjrERPGmAsr1wZKg8HIAEJRE4CD2AqiZt1xVqymRsdoTRqZAtu6oAN/40Rcwhk8 P1hlTr+CLcBi6/EiVPchvHg= Received: from mail.maildlp.com (unknown [172.19.163.0]) by canpmsgout04.his.huawei.com (SkyGuard) with ESMTPS id 4dwV4m25grz1prL6; Tue, 20 Jan 2026 22:26:32 +0800 (CST) Received: from kwepemf100013.china.huawei.com (unknown [7.202.181.12]) by mail.maildlp.com (Postfix) with ESMTPS id 87BE1405A7; Tue, 20 Jan 2026 22:29:57 +0800 (CST) Received: from DESKTOP-62GVMTR.china.huawei.com (10.174.188.120) by kwepemf100013.china.huawei.com (7.202.181.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Tue, 20 Jan 2026 22:29:56 +0800 From: Fan Gong To: Fan Gong , Zhu Yikai , , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Andrew Lunn CC: , , luosifu , Xin Guo , Zhou Shuai , Wu Like , Shi Jing , Luo Yang Subject: [PATCH net-next v01 0/5] net: hinic3: Fix netif_queue_set_napi input parameters and code styles Date: Tue, 20 Jan 2026 22:29:46 +0800 Message-ID: X-Mailer: git-send-email 2.51.0.windows.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: kwepems200001.china.huawei.com (7.221.188.67) To kwepemf100013.china.huawei.com (7.202.181.12) This patchset provides netif_queue_set_napi bug fix and serveral code styles fixes to : Fix netif_queue_set_napi queue_index parameter passing error. Remove empty lines between error handling. Remove redundant defensive code. Use array_size instead of multiplying. Sq use SQ_CTXT_PREF_CI_HI to improve readability. Thanks, Fan gong Fan Gong (5): hinic3: Fix netif_queue_set_napi queue_index parameter passing error hinic3: Fix code Style(remove empty lines between error handling) hinic3: Remove redundant defensive code hinic3: Use array_size instead of multiplying hinic3: RQ use RQ_CTXT_PREF_CI_HI instead of SQ_CTXT_PREF_CI_HI .../net/ethernet/huawei/hinic3/hinic3_cmdq.c | 3 --- .../net/ethernet/huawei/hinic3/hinic3_eqs.c | 1 - .../net/ethernet/huawei/hinic3/hinic3_irq.c | 23 +++++++++++-------- .../net/ethernet/huawei/hinic3/hinic3_lld.c | 5 ---- .../net/ethernet/huawei/hinic3/hinic3_main.c | 4 ---- .../net/ethernet/huawei/hinic3/hinic3_mbox.c | 2 -- .../ethernet/huawei/hinic3/hinic3_nic_cfg.c | 6 +++-- .../ethernet/huawei/hinic3/hinic3_nic_io.c | 6 ++++- .../net/ethernet/huawei/hinic3/hinic3_tx.c | 7 ------ 9 files changed, 23 insertions(+), 34 deletions(-) base-commit: 4515ec4ad58a37e70a9e1256c0b993958c9b7497 -- 2.43.0