summaryrefslogtreecommitdiff
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-27 20:39:13 +0800
committerHans Verkuil <hverkuil+cisco@kernel.org>2025-09-11 08:46:10 +0200
commitecba852dc9f4993f4f894ea1f352564560e19a3e (patch)
tree41c3051c729a1b8148692069c6e96aa4fceae9e9 /rust/helpers/xarray.c
parentfa0f61cc1d828178aa921475a9b786e7fbb65ccb (diff)
media: redrat3: use int type to store negative error codes
Change "ret" from u8 to int type in redrat3_enable_detector() to store negative error codes or zero returned by redrat3_send_cmd() and usb_submit_urb() - this better aligns with the coding standards and maintains code consistency. No effect on runtime. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions