[1] Tentative fix for NVIDIA 530.41.03 driver for Linux 6.4-rc2
    I reffered joanbm's patch of NVIDIA 470xx. Thanks to joanbm.
    https://gist.github.com/joanbm/77f0650d45747b9a4dc8e330ade2bf5c

0001-nvidia-530xx-fix-linux-6.4.patch
[code]
--- a/kernel/nvidia-drm/nvidia-drm-drv.c    2023-05-16 21:24:48.460226359 +0900
+++ b/kernel/nvidia-drm/nvidia-drm-drv.c    2023-05-16 21:28:32.281220378 +0900
@@ -20,6 +20,7 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#include <linux/version.h>
 #include "nvidia-drm-conftest.h" /* NV_DRM_AVAILABLE and NV_DRM_DRM_GEM_H_PRESENT */
 
 #include "nvidia-drm-priv.h"
@@ -1436,7 +1437,11 @@
 
     nv_drm_driver.dumb_create      = nv_drm_dumb_create;
     nv_drm_driver.dumb_map_offset  = nv_drm_dumb_map_offset;
+// Rel. commit "drm: remove dumb_destroy callback" (Christian König, 26 Jan 2023)
+// NB: No resources are leaked, the kernel releases the same resources by default
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
     nv_drm_driver.dumb_destroy     = nv_drm_dumb_destroy;
+#endif
 #endif /* NV_DRM_ATOMIC_MODESET_AVAILABLE */
 }


[2] Tentative fix for RTL8812AU driver for Linux 6.4-rc2
    Upstream git of the driver source
    https://github.com/aircrack-ng/rtl8812au

rtl8812au_v5.6.4.2_kernel-v6.4.patch
[code]
--- a/os_dep/linux/ioctl_cfg80211.c    2023-05-11 21:48:30.991895460 +0900
+++ b/os_dep/linux/ioctl_cfg80211.c    2023-05-11 21:56:35.169891566 +0900
@@ -460,7 +460,7 @@
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
     if (started) {
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0))
         cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0))
         cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
@@ -476,7 +476,7 @@
     if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
         goto exit;
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0))
     cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
 #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19, 2))
     cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);


---
[2023-05-17] New