linux/drivers/misc/mei
Su Hui 066dcd87b9 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
[ Upstream commit ee62360272 ]

Clang static analyzer complains that value stored to 'rets' is never
read.Let 'buf_len = -EOVERFLOW' to make sure we can return '-EOVERFLOW'.

Fixes: 8c8d964ce9 ("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>
History 2023-12-13 18:39:23 +01:00
..
hdcp misc/mei/hdcp: Use correct macros to initialize uuid_le 2023-03-10 09:33:33 +01:00
pxp mei: pxp: Use correct macros to initialize uuid_le 2023-03-10 09:33:33 +01:00
bus-fixup.c mei: bus-fixup:upon error print return values of send and receive 2023-03-11 13:55:35 +01:00
bus.c mei: bus: fix unlink on bus in error path 2023-01-24 07:24:39 +01:00
client.c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write 2023-12-13 18:39:23 +01:00
client.h mei: constify passed buffers and structures 2021-07-29 17:08:04 +02:00
debugfs.c mei: debugfs: add pxp mode to devstate in debugfs 2022-09-12 15:23:11 +03:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
gsc-me.c Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
hbm.c Merge tag 'drm-intel-gt-next-2022-09-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2022-09-21 07:42:47 +10:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: add meteor lake point M DID 2023-01-24 07:24:39 +01:00
hw-me.c Merge tag 'drm-intel-gt-next-2022-09-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2022-09-21 07:42:47 +10:00
hw-me.h mei: extend timeouts on slow devices 2022-09-12 15:23:10 +03:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: extend timeouts on slow devices 2022-09-12 15:23:10 +03:00
init.c mei: drop ready bits check after start 2022-09-12 15:23:11 +03:00
interrupt.c mei: avoid iterator usage outside of list_for_each_entry 2022-03-18 13:48:30 +01:00
Kconfig mei: add support for graphics system controller (gsc) devices 2022-04-21 11:34:09 -07:00
main.c mei: extend timeouts on slow devices 2022-09-12 15:23:10 +03:00
Makefile mei: add support for graphics system controller (gsc) devices 2022-04-21 11:34:09 -07:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00
mei_dev.h mei: gsc: setup gsc extended operational memory 2022-09-12 15:23:11 +03:00
mkhi.h mei: mkhi: add memory ready command 2022-09-12 15:23:11 +03:00
pci-me.c mei: me: add meteor lake point M DID 2023-01-24 07:24:39 +01:00
pci-txe.c mei: Remove usage of the deprecated "pci-dma-compat.h" API 2021-09-21 17:33:41 +02:00