VirtualBox

Changeset 95414 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jun 28, 2022 7:17:31 PM (2 years ago)
Author:
vboxsync
Message:

Linux host and guest drivers: fix build (2), ​bugref:10247.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_ttm.c

    r95412 r95414  
    796796{
    797797        struct drm_file *file_priv;
     798        struct vbox_private *vbox
    798799        int ret = -EINVAL;
    799800
     
    802803
    803804        file_priv = filp->private_data;
     805        vbox = file_priv->minor->dev->dev_private;
    804806
    805807#if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99)
     808        RT_NOREF(vbox);
    806809        if (drm_dev_is_unplugged(file_priv->minor->dev))
    807810                return -ENODEV;
    808811        ret = drm_gem_mmap(filp, vma);
    809812#else
    810         struct vbox_private *vbox = file_priv->minor->dev->dev_private;
    811813        ret = ttm_bo_mmap(filp, vma, &vbox->ttm.bdev);
    812814#endif
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