summaryrefslogtreecommitdiff
path: root/include/linux/zstd_errors.h
diff options
context:
space:
mode:
authorJohn Keeping <[email protected]>2023-03-27 12:01:10 +0100
committerKever Yang <[email protected]>2023-04-21 15:16:01 +0800
commit9fea3696efceb8223f8e1121077763f1295cc65f (patch)
tree3945e40c5b0fdf9af7208ab717a3873c95a6c755 /include/linux/zstd_errors.h
parenta48d13535a40b818f76c659602be70db6ebaa07a (diff)
rockchip: otp: fix misc_read() return values
The documentation for misc_read() says: Return: number of bytes read if OK (may be 0 if EOF), -ve on error The Rockchip efuse driver implements this so it should return the number of bytes read rather than zero on success. Fix this so that the driver follows the usual contract for read operations. Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Jonas Karlman <[email protected]> Signed-off-by: John Keeping <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions