Remove smatch warnings on s5p-mfc driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | s5p_mfc: use static for some structsdrivers/ | +12 | 0 replies | |
| 2/4 | s5p_mfc_opr_v5: fix smatch warningsdrivers/ | +2 | 0 replies | |
| 3/4 | s5p_mfc_opr_v6: fix wrong type for registersdrivers/ drivers/ | +246 | 0 replies | |
| 4/4 | s5p_mfc_opr_v6: remove address space removal warningsdrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Remove smatch warnings on s5p-mfc driver
When compiling s5p-mfc driver with:
make ARCH=i386 C=1 CF=-D__CHECK_ENDIAN__ CONFIG_DEBUG_SECTION_MISMATCH=y W=1 CF=-D__CHECK_ENDIAN__ M=drivers/media
Lots of smatch warnings are produced, because:
- some static vars were missing 'static';
- the readl/writel pointers were wrongly declared.
Fix them.
Mauro Carvalho Chehab (4):
[media] s5p_mfc: use static for some structs [media] s5p_mfc_opr_v5: fix smatch warnings
[media] s5p_mfc_opr_v6: fix wrong type for registers [media] s5p_mfc_opr_v6: remove address space removal warnings
drivers/media/platform/s5p-mfc/s5p_mfc.c | 24 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr.h | 488 ++++++++++++------------ drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 4 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 12 +- 4 files changed, 264 insertions(+), 264 deletions(-)
Signature · 1 line
1.9.3