netlink:fix typo
This commit is contained in:
parent
7e5a33180d
commit
05fab4d1ae
10
ethtool.spec
10
ethtool.spec
@ -1,12 +1,14 @@
|
|||||||
Name: ethtool
|
Name: ethtool
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: 6.6
|
Version: 6.6
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Settings tool for Ethernet NICs
|
Summary: Settings tool for Ethernet NICs
|
||||||
License: GPL-2.0-only AND GPL-2.0-or-later
|
License: GPL-2.0-only AND GPL-2.0-or-later
|
||||||
URL: https://www.kernel.org/pub/software/network/ethtool
|
URL: https://www.kernel.org/pub/software/network/ethtool
|
||||||
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
|
Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
Patch0: netlink-fix-typo.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libmnl-devel
|
BuildRequires: libmnl-devel
|
||||||
Conflicts: filesystem < 3
|
Conflicts: filesystem < 3
|
||||||
@ -53,6 +55,12 @@ make check
|
|||||||
%{_mandir}/man8/%{name}.8*
|
%{_mandir}/man8/%{name}.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 22 2024 yanglu <yanglu72@h-partners.com> - 2:6.6-2
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix typo
|
||||||
|
|
||||||
* Thu Dec 28 2023 yanglu <yanglu72@h-partners.com> - 2:6.6-1
|
* Thu Dec 28 2023 yanglu <yanglu72@h-partners.com> - 2:6.6-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
31
netlink-fix-typo.patch
Normal file
31
netlink-fix-typo.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 41207be299f9607fa834762e8c9112d07cd06b76 Mon Sep 17 00:00:00 2001
|
||||||
|
From: gaoxingwang <gaoxingwang1@huawei.com>
|
||||||
|
Date: Fri, 22 Mar 2024 15:01:43 +0800
|
||||||
|
Subject: [PATCH] netlink: fix typo
|
||||||
|
|
||||||
|
Add missing colon in coalesce_reply_cb
|
||||||
|
|
||||||
|
Fixes: ec573f209d (netlink: settings: add netlink support for coalesce tx aggr params)
|
||||||
|
Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com>
|
||||||
|
|
||||||
|
Signed-off-by: gaoxingwang <gaoxingwang1@huawei.com>
|
||||||
|
---
|
||||||
|
netlink/coalesce.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/netlink/coalesce.c b/netlink/coalesce.c
|
||||||
|
index bc34d3d..bb93f9b 100644
|
||||||
|
--- a/netlink/coalesce.c
|
||||||
|
+++ b/netlink/coalesce.c
|
||||||
|
@@ -93,7 +93,7 @@ int coalesce_reply_cb(const struct nlmsghdr *nlhdr, void *data)
|
||||||
|
tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_BYTES]);
|
||||||
|
show_u32("tx-aggr-max-frames", "tx-aggr-max-frames:\t",
|
||||||
|
tb[ETHTOOL_A_COALESCE_TX_AGGR_MAX_FRAMES]);
|
||||||
|
- show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs\t",
|
||||||
|
+ show_u32("tx-aggr-time-usecs", "tx-aggr-time-usecs:\t",
|
||||||
|
tb[ETHTOOL_A_COALESCE_TX_AGGR_TIME_USECS]);
|
||||||
|
show_cr();
|
||||||
|
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user