mirror of https://github.com/torvalds/linux.git
The "ret" variable is used to store the return from bb_write() returns either zero on success or negative error codes on failure. Storing the error codes in size_t which is an unsigned long, doesn't cause an issue at runtime but it's ugly as pants. Change "ret" from size_t to int type. No effect on runtime. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20250826123208.300145-1-rongqianfeng@vivo.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| agilent_82350b | ||
| agilent_82357a | ||
| cb7210 | ||
| cec | ||
| common | ||
| eastwood | ||
| fmh_gpib | ||
| gpio | ||
| hp_82335 | ||
| hp_82341 | ||
| include | ||
| ines | ||
| lpvo_usb_gpib | ||
| nec7210 | ||
| ni_usb | ||
| pc2 | ||
| tms9914 | ||
| tnt4882 | ||
| uapi | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||