diff options
| author | 2023-11-20 17:55:26 +0800 | |
|---|---|---|
| committer | 2023-11-27 13:38:29 +0000 | |
| commit | ee6236027218f8531916f1c5caa5dc330379f287 (patch) | |
| tree | 2f6d4b9aececd4bfb556166a5bb7560d73ba656c /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | misc: mei: client.c: return negative error code in mei_cl_write (diff) | |
misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
Clang static analyzer complains that value stored to 'rets' is never
read.Let 'buf_len = -EOVERFLOW' to make sure we can return '-EOVERFLOW'.
Fixes: 8c8d964ce90f ("mei: move hbuf_depth from the mei device to the hw modules")
Signed-off-by: Su Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231120095523.178385-2-suhui@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
