]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d5fdd8260d1dd5e1c676a558efd634848ab3b36
tree3da4fe8a8847d00a9b418f67add5967e0070ee75
parentafb444fafa11d7361e88d3c8ec534f49ee7748ad
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