VirtualBox

Changeset 67398 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jun 14, 2017 12:58:38 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8524: Additions/linux: play nicely with distribution-installed Additions
Additions: linux/drm: Fix checkpatch warning in vbox_hgsmi.c

Fix:

CHECK: Alignment should match open parenthesis

#123: FILE: drivers/staging/vboxvideo/vbox_hgsmi.c:123:

offset = gen_pool_virt_to_phys(guest_pool,

(unsigned long)buf - sizeof(HGSMIBUFFERHEADER));

Signed-off-by: Hans de Goede <hdegoede@…>

File:
1 edited

Legend:

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

    r67169 r67398  
    120120        phys_addr_t offset;
    121121
    122         offset = gen_pool_virt_to_phys(guest_pool,
    123                         (unsigned long)buf - sizeof(HGSMIBUFFERHEADER));
     122        offset = gen_pool_virt_to_phys(guest_pool, (unsigned long)buf -
     123                                                  sizeof(HGSMIBUFFERHEADER));
    124124        outl(offset, VGA_PORT_HGSMI_GUEST);
    125125        /* Make the compiler aware that the host has changed memory. */
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