Skip to content

staging: sm750fb: fix error return values

Soham Kute linux-fbdev linux-staging lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 7 repliesIn review

Changes in v2 from the cover letter

- Split into one patch per function
- Propagate de_wait() error instead of hardcoding -EBUSY
- Each commit message describes caller behavior

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6staging: sm750fb: hw_sm750le_de_wait: return -ETIMEDOUT on timeoutdrivers/staging/sm750fb/sm750_hw.c+2 -20 replies
1/6staging: sm750fb: hw_sm750le_de_wait: return -ETIMEDOUT on timeoutdrivers/staging/sm750fb/sm750_hw.c+2 -21 reply
2/6staging: sm750fb: sm750_hw_fillrect: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -60 replies
2/6staging: sm750fb: sm750_hw_fillrect: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -61 reply
3/6staging: sm750fb: sm750_hw_copyarea: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -21 reply
3/6staging: sm750fb: sm750_hw_copyarea: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -20 replies
4/6staging: sm750fb: sm750_hw_imageblit: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -31 reply
4/6staging: sm750fb: sm750_hw_imageblit: propagate de_wait() errordrivers/staging/sm750fb/sm750_accel.c+4 -30 replies
5/6staging: sm750fb: sw_i2c_write_byte: return -ETIMEDOUT on timeoutdrivers/staging/sm750fb/ddk750_swi2c.c+1 -11 reply
5/6staging: sm750fb: sw_i2c_write_byte: return -EIO on failuredrivers/staging/sm750fb/ddk750_swi2c.c+2 -20 replies
6/6staging: sm750fb: sm750_sw_i2c_init: return -EINVAL for invalid GPIOdrivers/staging/sm750fb/ddk750_swi2c.c+1 -11 reply
6/6staging: sm750fb: sm750_sw_i2c_init: return -EINVAL for invalid GPIOdrivers/staging/sm750fb/ddk750_swi2c.c+3 -31 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] staging: sm750fb: fix error return values

This is v2 of the sm750fb error code fixes, split into one patch per function as requested by Dan Carpenter.

Changes in v2:
- Split into one patch per function
- Propagate de_wait() error instead of hardcoding -EBUSY
- Each commit message describes caller behavior

Soham Kute (6):
11ca38f0ec63 staging: sm750fb: hw_sm750le_de_wait: return -ETIMEDOUT on timeout 28df828cc89b staging: sm750fb: sm750_hw_fillrect: propagate de_wait() error 2378ece78154 staging: sm750fb: sm750_hw_copyarea: propagate de_wait() error 85139ac8c7fe staging: sm750fb: sm750_hw_imageblit: propagate de_wait() error 9c2430311e23 staging: sm750fb: sw_i2c_write_byte: return -ETIMEDOUT on timeout 915599b01e9b staging: sm750fb: sm750_sw_i2c_init: return -EINVAL for invalid GPIO