Su Hui f78fff4648 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
[ Upstream commit ee6236027218f8531916f1c5caa5dc330379f287 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-13 18:45:29 +01:00
..
2023-07-30 14:17:27 +02:00
2022-11-23 19:43:33 +01:00
2023-07-30 18:15:53 +02:00
2022-10-03 11:29:07 -07:00
2021-02-06 15:48:11 +01:00
2022-09-12 15:23:10 +03:00
2023-03-23 17:25:46 +01:00
2023-05-04 02:57:29 -07:00
2023-05-04 02:57:29 -07:00
2022-09-12 15:23:11 +03:00
2023-03-15 14:59:31 +10:00