drm/vmwgfx: Fix error printout on signals pending
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 25 Nov 2014 07:20:05 +0000 (08:20 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 3 Dec 2014 08:48:14 +0000 (00:48 -0800)
commite338c4c2b620ba4e75fd3576f8142eb93be12ce3
treedae6a71d46bf1977ce08979cf0a3e9379bd82c52
parent4fcd01d0f34645710ac92d5523e26019428b0806
drm/vmwgfx: Fix error printout on signals pending

The function vmw_master_check() might return -ERESTARTSYS if there is a
signal pending, indicating that the IOCTL should be rerun, potentially from
user-space. At that point we shouldn't print out an error message since that
is not an error condition. In short, avoid bloating the kernel log when a
process refuses to die on SIGTERM.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c