Skip to content

Address some clang W=1 warnings

Mauro Carvalho Chehab linux-media lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10media: cx25821: drop duplicated i2c_slave_did_ack()drivers/media/pci/cx25821/cx25821-core.c+0 -70 replies
2/10media: ivtv: drop an unused macrodrivers/media/pci/ivtv/ivtv-alsa-main.c+0 -60 replies
3/10media: cx18: drop an unused macrodrivers/media/pci/cx18/cx18-alsa-main.c+0 -60 replies
4/10media: stb6100: mark a currently unused function as suchdrivers/media/dvb-frontends/stb6100.c+1 -10 replies
5/10media: mc: mark a debug function with __maybe_unuseddrivers/media/mc/mc-entity.c+1 -11 reply
6/10media: dvb-core: dvb_frontend: address some clang warningsdrivers/media/dvb-core/dvb_frontend.c+5 -80 replies
7/10media: cx25840: drop some unused inline functionsdrivers/media/i2c/cx25840/cx25840-ir.c+0 -200 replies
8/10media: marvell-ccic: drop to_cam() unused functiondrivers/media/platform/marvell-ccic/cafe-driver.c+0 -70 replies
9/10media: omap3isp: mark isp_isr_dbg as __maybe_unuseddrivers/media/platform/omap3isp/isp.c+2 -12 replies
10/10media: omap3isp: avoid warnings at IS_OUT_OF_BOUNDS()drivers/media/platform/omap3isp/isph3a_af.c+1 -11 reply

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchLaurent Pinchart
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Address some clang W=1 warnings

Clang is more pedantic than gcc with W=1. This is currently causing builder.linuxtv.org errors due to CONFIG_WERROR.

Address some of those.

Mauro Carvalho Chehab (10):
media: cx25821: drop duplicated i2c_slave_did_ack()
media: ivtv: drop an unused macro
media: cx18: drop an unused macro
media: stb6100: mark a currently unused function as such
media: mc: mark a debug function with __maybe_unused
media: dvb-core: dvb_frontend: address some clang warnings
media: cx25840: drop some unused inline functions
media: marvell-ccic: drop to_cam() unused function
media: omap3isp: mark isp_isr_dbg as __maybe_unused
media: omap3isp: avoid warnings at IS_OUT_OF_BOUNDS()

 drivers/media/dvb-core/dvb_frontend.c         | 13 +++++-------
 drivers/media/dvb-frontends/stb6100.c         |  2 +-
 drivers/media/i2c/cx25840/cx25840-ir.c        | 20 -------------------
 drivers/media/mc/mc-entity.c                  |  2 +-
 drivers/media/pci/cx18/cx18-alsa-main.c       |  6 ------
 drivers/media/pci/cx25821/cx25821-core.c      |  7 -------
 drivers/media/pci/ivtv/ivtv-alsa-main.c       |  6 ------
 .../media/platform/marvell-ccic/cafe-driver.c |  7 -------
 drivers/media/platform/omap3isp/isp.c         |  3 ++-
 drivers/media/platform/omap3isp/isph3a_af.c   |  2 +-
 10 files changed, 10 insertions(+), 58 deletions(-)
Signature · 1 line
2.33.1