diff options
author | Kunwu Chan <chentao@kylinos.cn> | 2024-01-18 11:37:59 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-01-18 15:21:34 -0800 |
commit | bc4996184d56cfaf56d3811ac2680c8a0e2af56e (patch) | |
tree | 8925160ed86a17753278df4c40df719af8fc45b1 /drivers/input/input.c | |
parent | f0eb58dd08770a2e24bfc41db5ee3ff7c3a684ee (diff) |
Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
While input core can work with input->phys set to NULL userspace might
depend on it, so better fail probing if allocation fails. The system must
be in a pretty bad shape for it to happen anyway.
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Link: https://lore.kernel.org/r/20240117073124.143636-1-chentao@kylinos.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions