Skip to content

rockchip: fix efuse/otp misc_read return values

John Keeping u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v22 patches 4 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rockchip: misc: fix misc_read() return checkarch/arm/mach-rockchip/misc.c+1 -12 replies
2/3rockchip: efuse: fix misc_read() return valuesdrivers/misc/rockchip-efuse.c+8 -41 reply
3/3rockchip: otp: fix misc_read() return valuesdrivers/misc/rockchip-otp.c+8 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon GlassJonas KarlmanKever Yang
1/3R-b R-b
2/3R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] rockchip: fix efuse/otp misc_read return values

Fix the return value for misc_read() in the two Rockchip nvmem drivers so that they return the number of bytes read.

In v3 there is a new initial patch to fix the one place that uses this return value to correctly check for negative error returns. The other two patches are unchanged from v2.

John Keeping (3):
rockchip: misc: fix misc_read() return check
rockchip: efuse: fix misc_read() return values
rockchip: otp: fix misc_read() return values

 arch/arm/mach-rockchip/misc.c |  2 +-
 drivers/misc/rockchip-efuse.c | 12 ++++++++----
 drivers/misc/rockchip-otp.c   | 12 ++++++++----
 3 files changed, 17 insertions(+), 9 deletions(-)
Signature · 1 line
2.40.0