diff options
| author | George Kennedy <[email protected]> | 2020-07-31 12:33:12 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 13:22:56 +0200 |
| commit | bc5269ca765057a1b762e79a1cfd267cd7bf1c46 (patch) | |
| tree | 9ed7a7d56752ac10910a56dc51505f0b1d2d8c65 /drivers/platform/surface/aggregator/controller.c | |
| parent | 39b3cffb8cf3111738ea993e2757ab382253d86a (diff) | |
vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()
vc_resize() can return with an error after failure. Change VT_RESIZEX ioctl
to save struct vc_data values that are modified and restore the original
values in case of error.
Signed-off-by: George Kennedy <[email protected]>
Cc: stable <[email protected]>
Reported-by: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions