# Re: \[PATCH 1/1\] Input: hil\_kbd - Fix error return code in hil\_dev\_connect()

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2021-05-25 03:37:07 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/05/8933054
- Thread: https://ratatoskr.run/linux-input/2021/05/8933008/t.md

```text
Hi Zhen,

On Sat, May 15, 2021 at 11:00:53AM +0800, Zhen Lei wrote:
> Return error code -EPERM rather than '0' when the combo devices are not

I believe -EINVAL suits better here, so I used it and applied, thank
you.

Thanks.

-- 
Dmitry
```
