]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: vboxvideo: Add vbox_bo_k[un]map helper functions
authorHans de Goede <hdegoede@redhat.com>
Tue, 18 Sep 2018 17:44:38 +0000 (19:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Sep 2018 10:32:05 +0000 (12:32 +0200)
commitbeed1ce294579bf82b6a8d51c5e3caa9599c38d9
tree3564277018ee1d7eeac71b0b4b531066d37b6f40
parentcfc1fc63be447737639dbf90610e7af58d7bd437
staging: vboxvideo: Add vbox_bo_k[un]map helper functions

Add vbox_bo_k[un]map helper functions instead of having code directly
poking struct vbox_bo internals.

While touch neighboring code anyways also fix a return -PTR_ERR(info),
which should be return PTR_ERR(info).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.h
drivers/staging/vboxvideo/vbox_fb.c
drivers/staging/vboxvideo/vbox_ttm.c