]> git.baikalelectronics.ru Git - 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)
commit4fbdd0ee2c46f7c82bf61f9865b221f074d68c9b
tree3564277018ee1d7eeac71b0b4b531066d37b6f40
parent9998b321a5751e04fa0d0c5b5c7bcfff72bae9da
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