Fix most sparse warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | media-entity.c: get rid of var length arraysdrivers/ include/ | +9 | 0 replies | |
| 2/7 | s5c73m3: fix a sparse warningdrivers/ | +1 | 0 replies | |
| 3/7 | netup_unidvb: remove most of the sparse warningsdrivers/ drivers/ drivers/ +2 more | +12 | 0 replies | |
| 4/7 | netup_unidvb_ci: Fix dereference of noderef expressiondrivers/ | +4 | 0 replies | |
| 5/7 | mipi-csis: make sparse happydrivers/ | +2 | 4 replies | |
| 6/7 | c8sectpfe: fix namespace on memcpy/memsetdrivers/ | +2 | 1 reply | |
| 7/7 | rcar_jpu: Fix namespace for two __be16 varsdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Fix most sparse warnings
There are still some sparse warnings. None of them are currently real bug, but they make sparse to be confused, and namespaces are not properly used. That could hide bug on some future change.
So, fix them. After this series, there are just 2 sparse warnings:
drivers/media/platform/timblogiw.c:562:22: warning: context imbalance in 'buffer_queue' - unexpected unlock drivers/media/platform/soc_camera/rcar_vin.c:835:25: warning: context imbalance in 'rcar_vin_wait_stop_streaming' - unexpected unlock
Both are OK, but I dunno how to shut up sparse to report them. If anyone has an idea, feel free to send a patch ;)
Mauro Carvalho Chehab (7):
[media] media-entity.c: get rid of var length arrays [media] s5c73m3: fix a sparse warning
[media] netup_unidvb: remove most of the sparse warnings [media] netup_unidvb_ci: Fix dereference of noderef expression [media] mipi-csis: make sparse happy
[media] c8sectpfe: fix namespace on memcpy/memset [media] rcar_jpu: Fix namespace for two __be16 vars
drivers/media/i2c/s5c73m3/s5c73m3-core.c | 2 +- drivers/media/media-entity.c | 4 ++-- drivers/media/pci/netup_unidvb/netup_unidvb.h | 4 ++-- drivers/media/pci/netup_unidvb/netup_unidvb_ci.c | 10 +++++----- drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 14 ++++++-------- drivers/media/pci/netup_unidvb/netup_unidvb_i2c.c | 2 +- drivers/media/pci/netup_unidvb/netup_unidvb_spi.c | 4 ++-- drivers/media/platform/exynos4-is/mipi-csis.c | 3 ++- drivers/media/platform/rcar_jpu.c | 4 ++-- drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 4 ++-- include/media/media-entity.h | 7 +++++++ 11 files changed, 32 insertions(+), 26 deletions(-)
Signature · 1 line
2.4.3