video: fbdev: au1200fb: Fix error handling path of 'au1200fb_drv_probe()'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | video: fbdev: au1200fb: Fix a potential double freedrivers/ | +0 | 0 replies | |
| 2/8 | video: fbdev: au1200fb: Return an error code if a memory allocation failsdrivers/ | +3 | 0 replies | |
| 3/8 | video: fbdev: au1200fb: Release some resources if a memory allocation failsdrivers/ | +2 | 0 replies | |
| 4/8 | video: fbdev: au1200fb: Fix error handling pathdrivers/ | +0 | 0 replies | |
| 5/8 | video: fbdev: au1200fb: Fix error handling pathdrivers/ | +10 | 1 reply | |
| 6/8 | video: fbdev: au1200fb: Remove some dead codedrivers/ | +0 | 1 reply | |
| 7/8 | video: fbdev: au1200fb: Propagate an error codedrivers/ | +4 | 0 replies | |
| 8/8 | video: fbdev: au1200fb: Style clean updrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] video: fbdev: au1200fb: Fix error handling path of 'au1200fb_drv_probe()'
This patch serie tries to fix several issues found in the error handling code of 'au1200fb_drv_probe()'.
The 5 first patches fixes various issues (double free, missing error code, un-released resources on error, incorrect IRQ releasing and incomplete error handling path)
The 3 last patches are just cleanups.
I've spilt the serie in 8 steps that look logical to me. They could also be merged together if preferred.
These patches are provided as-is and ARE NOT even compile-tested (sorry in advance if a patch is broken) because I don't have a cross compiler for MIPS and won't install one.
This serie already goes further that the fixes I usually provide, so please excuse me if I missed something or if it is somehow broken and/or incomplete.
---
V1 previously posted is patch 3/8 of this serie
Christophe JAILLET (8):
video: fbdev: au1200fb: Fix a potential double free
video: fbdev: au1200fb: Return an error code if a memory allocation
fails
video: fbdev: au1200fb: Release some resources if a memory allocation
fails
video: fbdev: au1200fb: Fix error handling path
video: fbdev: au1200fb: Fix error handling path
video: fbdev: au1200fb: Remove some dead code
video: fbdev: au1200fb: Propagate an error code
video: fbdev: au1200fb: Style clean up
drivers/video/fbdev/au1200fb.c | 43 ++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-)
Signature · 1 line
2.11.0