* [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13
@ 2025-04-16 20:05 Giulio Benetti
2025-04-19 14:35 ` Thomas Petazzoni via buildroot
2025-05-02 10:37 ` Arnout Vandecappelle via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Giulio Benetti @ 2025-04-16 20:05 UTC (permalink / raw)
To: buildroot; +Cc: Angelo Compagnucci, Giulio Benetti
Add local patch pending upstream to fix build failure with Linux 6.13
Fixes:
https://autobuild.buildroot.org/results/940e7f95fff017b8c7cffb778911ae0386980fa3
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
.../0001-Fix-build-with-Linux-6.13.patch | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
diff --git a/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch b/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
new file mode 100644
index 0000000000..2350dc2e5e
--- /dev/null
+++ b/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
@@ -0,0 +1,35 @@
+From d71ab09447d9c3043203b5c3b5868e99bc4e0ca8 Mon Sep 17 00:00:00 2001
+From: Giulio Benetti <giulio.benetti@benettiengineering.com>
+Date: Wed, 16 Apr 2025 22:00:59 +0200
+Subject: [PATCH] Fix build with Linux 6.13
+
+Commit:
+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9c4f830927750a2bf9fd9426a5257f0fdce3b662
+adds struct net_device *dev as argument to set_monitor_channel(), so let's
+add it to cfg80211_rtw_set_monitor_channel() according to Linux version.
+
+Upstream: https://github.com/lwfinger/rtl8723ds/pull/51
+Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
+---
+ os_dep/linux/ioctl_cfg80211.c | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
+index 53ccef4..75391e7 100644
+--- a/os_dep/linux/ioctl_cfg80211.c
++++ b/os_dep/linux/ioctl_cfg80211.c
+@@ -4520,7 +4520,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
+ }
+
+ static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
+-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
++ , struct net_device *dev
++ , struct cfg80211_chan_def *chandef
++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
+ , struct cfg80211_chan_def *chandef
+ #else
+ , struct ieee80211_channel *chan
+--
+2.39.5
+
--
2.39.5
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13
2025-04-16 20:05 [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13 Giulio Benetti
@ 2025-04-19 14:35 ` Thomas Petazzoni via buildroot
2025-05-02 10:37 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-04-19 14:35 UTC (permalink / raw)
To: Giulio Benetti; +Cc: buildroot, Angelo Compagnucci
On Wed, 16 Apr 2025 22:05:39 +0200
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
> Add local patch pending upstream to fix build failure with Linux 6.13
>
> Fixes:
> https://autobuild.buildroot.org/results/940e7f95fff017b8c7cffb778911ae0386980fa3
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> .../0001-Fix-build-with-Linux-6.13.patch | 35 +++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13
2025-04-16 20:05 [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13 Giulio Benetti
2025-04-19 14:35 ` Thomas Petazzoni via buildroot
@ 2025-05-02 10:37 ` Arnout Vandecappelle via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2025-05-02 10:37 UTC (permalink / raw)
To: Giulio Benetti, buildroot; +Cc: Angelo Compagnucci
On 16/04/2025 22:05, Giulio Benetti wrote:
> Add local patch pending upstream to fix build failure with Linux 6.13
>
> Fixes:
> https://autobuild.buildroot.org/results/940e7f95fff017b8c7cffb778911ae0386980fa3
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Applied to 2025.02.x, thanks.
Regards,
Arnout
> ---
> .../0001-Fix-build-with-Linux-6.13.patch | 35 +++++++++++++++++++
> 1 file changed, 35 insertions(+)
> create mode 100644 package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
>
> diff --git a/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch b/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
> new file mode 100644
> index 0000000000..2350dc2e5e
> --- /dev/null
> +++ b/package/rtl8723ds/0001-Fix-build-with-Linux-6.13.patch
> @@ -0,0 +1,35 @@
> +From d71ab09447d9c3043203b5c3b5868e99bc4e0ca8 Mon Sep 17 00:00:00 2001
> +From: Giulio Benetti <giulio.benetti@benettiengineering.com>
> +Date: Wed, 16 Apr 2025 22:00:59 +0200
> +Subject: [PATCH] Fix build with Linux 6.13
> +
> +Commit:
> +https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9c4f830927750a2bf9fd9426a5257f0fdce3b662
> +adds struct net_device *dev as argument to set_monitor_channel(), so let's
> +add it to cfg80211_rtw_set_monitor_channel() according to Linux version.
> +
> +Upstream: https://github.com/lwfinger/rtl8723ds/pull/51
> +Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> +---
> + os_dep/linux/ioctl_cfg80211.c | 5 ++++-
> + 1 file changed, 4 insertions(+), 1 deletion(-)
> +
> +diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
> +index 53ccef4..75391e7 100644
> +--- a/os_dep/linux/ioctl_cfg80211.c
> ++++ b/os_dep/linux/ioctl_cfg80211.c
> +@@ -4520,7 +4520,10 @@ static int cfg80211_rtw_set_channel(struct wiphy *wiphy
> + }
> +
> + static int cfg80211_rtw_set_monitor_channel(struct wiphy *wiphy
> +-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
> ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 0))
> ++ , struct net_device *dev
> ++ , struct cfg80211_chan_def *chandef
> ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0))
> + , struct cfg80211_chan_def *chandef
> + #else
> + , struct ieee80211_channel *chan
> +--
> +2.39.5
> +
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-02 10:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 20:05 [Buildroot] [PATCH] package/rtl8723ds: fix build failure with Linux 6.13 Giulio Benetti
2025-04-19 14:35 ` Thomas Petazzoni via buildroot
2025-05-02 10:37 ` Arnout Vandecappelle via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox