diff options
| author | Kirill A. Shutemov <kirill@shutemov.name> | 2015-11-30 04:17:31 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-01-18 22:27:27 +0000 |
| commit | ccebddfbea646b3b00ae53e4c74d258e1d31434a (patch) | |
| tree | a3c969de5f241c39ed1585a10715e11e2a3b4e6a /include/linux/usb | |
| parent | a94064d4ee8ff28a1de3decd6a5b3a329848c5b3 (diff) | |
vgaarb: fix signal handling in vga_get()
commit 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e upstream.
There are few defects in vga_get() related to signal hadning:
- we shouldn't check for pending signals for TASK_UNINTERRUPTIBLE
case;
- if we found pending signal we must remove ourself from wait queue
and change task state back to running;
- -ERESTARTSYS is more appropriate, I guess.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions
