Skip to content

Commit

Permalink
Some changes for 6.6 kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Oct 23, 2023
1 parent 7e3973e commit de82a03
Show file tree
Hide file tree
Showing 20 changed files with 657 additions and 635 deletions.
31 changes: 31 additions & 0 deletions 6.6/package/kernel/mac80211/patches/build/900-userhdr.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--- a/backport-include/net/genetlink.h 2023-10-19 17:24:48.721119999 +0200
+++ b/backport-include/net/genetlink.h 2023-10-19 17:35:11.810569190 +0200
@@ -3,6 +3,7 @@
#include_next <net/genetlink.h>
#include <linux/version.h>

+#if LINUX_VERSION_IS_LESS(6,5,0)
static inline void __bp_genl_info_userhdr_set(struct genl_info *info,
void *userhdr)
{
@@ -13,6 +14,7 @@
{
return info->userhdr;
}
+#endif /* < 6.5.0 */

#if LINUX_VERSION_IS_LESS(4,12,0)
#define GENL_SET_ERR_MSG(info, msg) NL_SET_ERR_MSG(genl_info_extack(info), msg)
@@ -47,10 +47,12 @@
}

/* this gets put in place of info->userhdr, since we use that above */
+#if LINUX_VERSION_IS_LESS(6,5,0)
static inline void *genl_info_userhdr(struct genl_info *info)
{
return (u8 *)info->genlhdr + GENL_HDRLEN;
}
+#endif

#if LINUX_VERSION_IS_LESS(4,10,0)
#define __genl_ro_after_init
55 changes: 0 additions & 55 deletions 6.6/package/kernel/rtl8812au-ct/Makefile

This file was deleted.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions 6.6/package/kernel/rtl8812au-ct/patches/003-wireless-5.8.patch

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions 6.6/package/kernel/rtl8812au-ct/patches/005-kernel-6.1.patch

This file was deleted.

This file was deleted.

Loading

0 comments on commit de82a03

Please sign in to comment.