diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-10-18 17:03:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-07 12:27:33 +0100 |
commit | 685bb884e0a42b917fecb25ca81a6407f391c8ec (patch) | |
tree | 11e50e2bd469c747a7178512e49fec84e6a74759 /drivers/staging/vboxvideo/hgsmi_base.c | |
parent | staging: vboxvideo: Keep old mode when disable crtc (diff) | |
download | linux-dev-685bb884e0a42b917fecb25ca81a6407f391c8ec.tar.xz linux-dev-685bb884e0a42b917fecb25ca81a6407f391c8ec.zip |
staging: vboxvideo: Drop duplicate vbox_err.h file
Switch to the more complete vbox_err.h file from include/linux which got
added with the merging of the vboxguest driver.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo/hgsmi_base.c')
-rw-r--r-- | drivers/staging/vboxvideo/hgsmi_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vboxvideo/hgsmi_base.c b/drivers/staging/vboxvideo/hgsmi_base.c index 15ff5f42e2cd..89a7cc989d5b 100644 --- a/drivers/staging/vboxvideo/hgsmi_base.c +++ b/drivers/staging/vboxvideo/hgsmi_base.c @@ -20,8 +20,8 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include <linux/vbox_err.h> #include "vbox_drv.h" -#include "vbox_err.h" #include "vboxvideo_guest.h" #include "vboxvideo_vbe.h" #include "hgsmi_channels.h" @@ -70,7 +70,7 @@ int hgsmi_send_caps_info(struct gen_pool *ctx, u32 caps) hgsmi_buffer_submit(ctx, p); - WARN_ON_ONCE(RT_FAILURE(p->rc)); + WARN_ON_ONCE(p->rc < 0); hgsmi_buffer_free(ctx, p); |