VirtualBox

Ignore:
Timestamp:
Jan 15, 2024 12:08:04 PM (13 months ago)
Author:
vboxsync
Message:

Linux Host and Guest kernel modules: Fix build for older Fedora kernels.

This commit covers build errors for Fedora 34-38 kernels. In short,
we exclude Fedora kernels (identified as RHEL XX.99) from fixes intended
for RHEL kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r102795 r102874  
    9999/** Starting from 6.4.0, iter_iov() macro should be used in order to access to iov field
    100100 * of struct iov_iter. */
    101 #if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_MAJ_PREREQ(9,4)
     101#if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_RANGE(9,4, 9,99)
    102102# define VBSF_GET_ITER_IOV(_iter) iter_iov(_iter)
    103103#else
     
    21212121#if RTLNX_VER_MIN(2,6,19)
    21222122/* See kernel 6.0.0 change eba2d3d798295dc43cae8fade102f9d083a2a741. */
    2123 # if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_MAJ_PREREQ(9,4)
     2123# if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_RANGE(9,4, 9,99)
    21242124#  define VBOX_IOV_GET_PAGES iov_iter_get_pages2
    21252125# else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette