Files
linux/drivers/staging/gpib
Qianfeng Rong 9d78ee44a9 staging: gpib: use int type to store negative error codes
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 <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-09-06 15:55:35 +02:00
..
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-08-19 12:58:19 +02:00
2025-06-19 17:31:52 +02:00