[PATCH 8/9] backports: patches: Avoid struct ethtool_ops.supported_coalesce_params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


The supported_coalesce_params member was added to the struct ethtool_ops
in upstream commit 95cddcb5cc20 ("ethtool: add infrastructure for
centralized checking of coalescing parameters"). This prevents the usage
in kernel < 5.7.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
 patches/0096-ethtool-supported_coalesce_params.cocci | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 patches/0096-ethtool-supported_coalesce_params.cocci

diff --git a/patches/0096-ethtool-supported_coalesce_params.cocci b/patches/0096-ethtool-supported_coalesce_params.cocci
new file mode 100644
index 00000000..9b1b090e
--- /dev/null
+++ b/patches/0096-ethtool-supported_coalesce_params.cocci
@@ -0,0 +1,9 @@
+identifier s,expr;
+struct ethtool_ops s = {
+	.supported_coalesce_params = expr,

To unsubscribe from this list: send the line "unsubscribe backports" in

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux