Input: xen - check return value of xenbus_printf
authorInsu Yun <wuninsu@gmail.com>
Mon, 19 Oct 2015 16:42:21 +0000 (09:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 23 Oct 2015 06:32:01 +0000 (23:32 -0700)
commitec7aa963bf81803b70b7da71bf79943ae5b9c531
tree3da4fe8a8847d00a9b418f67add5967e0070ee75
parentba564e789761368b44be1362ace576831778d371
Input: xen - check return value of xenbus_printf

Internally, xenbus_printf uses memory allocation, so it can fail under
memory pressure, leaving the input device configured as absolute with the
backend supplying relative coordinates.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/xen-kbdfront.c