From c7675518371ee8a28670ced3201a8db8d837d512 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 19 Jun 2023 09:05:25 +0200 Subject: [PATCH] 5.10-stable patches added patches: batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch --- ...dv-switch-to-kstrtox.h-for-kstrtou64.patch | 31 +++++++++++++++++++ queue-5.10/series | 1 + 2 files changed, 32 insertions(+) create mode 100644 queue-5.10/batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch diff --git a/queue-5.10/batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch b/queue-5.10/batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch new file mode 100644 index 00000000000..b537e9737a2 --- /dev/null +++ b/queue-5.10/batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch @@ -0,0 +1,31 @@ +From 55207227189a07513ba4107d72e256313a66a2f3 Mon Sep 17 00:00:00 2001 +From: Sven Eckelmann +Date: Fri, 23 Jul 2021 19:23:17 +0200 +Subject: batman-adv: Switch to kstrtox.h for kstrtou64 + +From: Sven Eckelmann + +commit 55207227189a07513ba4107d72e256313a66a2f3 upstream. + +The commit 4c52729377ea ("kernel.h: split out kstrtox() and simple_strtox() +to a separate header") moved the kstrtou64 function to a new header called +linux/kstrtox.h. + +Signed-off-by: Sven Eckelmann +Signed-off-by: Simon Wunderlich +Signed-off-by: Greg Kroah-Hartman +--- + net/batman-adv/gateway_common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/net/batman-adv/gateway_common.c ++++ b/net/batman-adv/gateway_common.c +@@ -10,7 +10,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include diff --git a/queue-5.10/series b/queue-5.10/series index 5c69f07d10a..fc079a20ee9 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -78,3 +78,4 @@ neighbour-remove-unused-inline-function-neigh_key_eq16.patch net-remove-unused-inline-function-dst_hold_and_use.patch net-remove-decnet-leftovers-from-flow.h.patch neighbour-delete-neigh_lookup_nodev-as-not-used.patch +batman-adv-switch-to-kstrtox.h-for-kstrtou64.patch -- 2.47.3