Skip to content

-Wunused-const-variable warning fixes

Arnd Bergmann dri-devel linux-arm-kernel linux-input linux-iommu lkml llvm 1 version Applied

Status from this message: Thanks, applied to dma-mapping-fixes branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 of 10 patches 15 repliesApplied

8 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10drm/imagination: avoid unused-const-variable warningdrivers/gpu/drm/imagination/pvr_fw_trace.c drivers/gpu/drm/imagination/pvr_fw_trace.h+4 -613 replies
4/10mux: adg792a: remove incorrect of_match_ptr annotationdrivers/mux/adg792a.c+1 -12 replies
5/10sched: open-code max_rt_runtime definitionkernel/sched/rt.c+2 -40 replies
6/10lockdep: change 'static const' variables to enum valueskernel/locking/lockdep_internals.h+10 -82 replies
7/10ARM: fixmap: make __end_of_early_ioremap_region an enum valuearch/arm/include/asm/fixmap.h+4 -51 reply
8/10comedi: ni_atmio: avoid warning for unused device_ids[] tabledrivers/comedi/drivers/ni_atmio.c+1 -10 replies
9/10apm-emulation: hide an unused variabledrivers/char/apm-emulation.c+2 -30 replies
10/10dma/contiguous: avoid warning about unused size_byteskernel/dma/contiguous.c+1 -24 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchPeter RosinAndy ShevchenkoIan AbbottJiri KosinaAlexandre BelloniKrzysztof KozlowskiMatt Coster
1/10R-b R-b R-b
4/10A-b R-b
5/10
6/10T-b
7/10
8/10R-b
9/10A-b
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] -Wunused-const-variable warning fixes

From: Arnd Bergmann <[email protected]>

Most patches I sent during the previous kernel cycle have made it in, these ten still remain for the moment. Please apply.

Arnd Bergmann (10):
drm/imagination: avoid unused-const-variable warning
[v2] clocksource: atmel_tcb: fix kconfig dependency
[v2] Input: stmpe-ts - use module alias instead of device table [RESEND] mux: adg792a: remove incorrect of_match_ptr annotation [RESEND] sched: open-code max_rt_runtime definition
[RESEND] lockdep: change 'static const' variables to enum values [RESEND] ARM: fixmap: make __end_of_early_ioremap_region an enum value [RESEND 2] comedi: ni_atmio: avoid warning for unused device_ids[] table [RESEND 2] apm-emulation: hide an unused variable
[RESEND 3] dma/contiguous: avoid warning about unused size_bytes

 arch/arm/include/asm/fixmap.h              |  9 ++++-----
 drivers/char/apm-emulation.c               |  5 ++---
 drivers/clocksource/Kconfig                |  4 ++--
 drivers/comedi/drivers/ni_atmio.c          |  2 +-
 drivers/gpu/drm/imagination/pvr_fw_trace.c |  8 ++++----
 drivers/gpu/drm/imagination/pvr_fw_trace.h |  2 --
 drivers/input/touchscreen/stmpe-ts.c       |  7 +------
 drivers/mux/adg792a.c                      |  2 +-
 kernel/dma/contiguous.c                    |  3 +--
 kernel/locking/lockdep_internals.h         | 18 ++++++++++--------
 kernel/sched/rt.c                          |  6 ++----
 11 files changed, 28 insertions(+), 38 deletions(-)
Signature · 42 lines
2.39.5

Cc: Russell King <[email protected]> (maintainer:ARM PORT)
Cc: Jiri Kosina <[email protected]> (maintainer:APM DRIVER)
Cc: Arnd Bergmann <[email protected]> (maintainer:CHAR and MISC DRIVERS,commit_signer:2/2=100%,authored:2/2=100%,added_lines:8/8=100%,removed_lines:10/10=100%,commit_signer:2/3=67%,authored:2/3=67%,added_lines:2/11=18%,removed_lines:2/2=100%,commit_signer:2/4=50%,blamed_fixes:1/1=100%)
Cc: Greg Kroah-Hartman <[email protected]> (maintainer:CHAR and MISC DRIVERS,commit_signer:1/3=33%)
Cc: Daniel Lezcano <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS)
Cc: Thomas Gleixner <[email protected]> (maintainer:CLOCKSOURCE, CLOCKEVENT DRIVERS)
Cc: Ian Abbott <[email protected]> (maintainer:COMEDI DRIVERS,commit_signer:1/3=33%,authored:1/3=33%,added_lines:9/11=82%)
Cc: H Hartley Sweeten <[email protected]> (maintainer:COMEDI DRIVERS)
Cc: Frank Binns <[email protected]> (maintainer:IMGTEC POWERVR DRM DRIVER)
Cc: Matt Coster <[email protected]> (maintainer:IMGTEC POWERVR DRM DRIVER)
Cc: Maarten Lankhorst <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Cc: Maxime Ripard <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Cc: Thomas Zimmermann <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Cc: David Airlie <[email protected]> (maintainer:DRM DRIVERS)
Cc: Simona Vetter <[email protected]> (maintainer:DRM DRIVERS)
Cc: Dmitry Torokhov <[email protected]> (maintainer:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...,commit_signer:2/4=50%)
Cc: Maxime Coquelin <[email protected]> (maintainer:ARM/STM32 ARCHITECTURE)
Cc: Alexandre Torgue <[email protected]> (maintainer:ARM/STM32 ARCHITECTURE)
Cc: Peter Rosin <[email protected]> (maintainer:MULTIPLEXER SUBSYSTEM)
Cc: Marek Szyprowski <[email protected]> (maintainer:DMA MAPPING HELPERS,blamed_fixes:1/1=100%)
Cc: Robin Murphy <[email protected]> (reviewer:DMA MAPPING HELPERS)
Cc: Peter Zijlstra <[email protected]> (maintainer:LOCKING PRIMITIVES)
Cc: Ingo Molnar <[email protected]> (maintainer:LOCKING PRIMITIVES)
Cc: Will Deacon <[email protected]> (maintainer:LOCKING PRIMITIVES)
Cc: Boqun Feng <[email protected]> (maintainer:LOCKING PRIMITIVES)
Cc: Waiman Long <[email protected]> (reviewer:LOCKING PRIMITIVES)
Cc: Juri Lelli <[email protected]> (maintainer:SCHEDULER)
Cc: Vincent Guittot <[email protected]> (maintainer:SCHEDULER)
Cc: Dietmar Eggemann <[email protected]> (reviewer:SCHEDULER)
Cc: Steven Rostedt <[email protected]> (reviewer:SCHEDULER)
Cc: Ben Segall <[email protected]> (reviewer:SCHEDULER)
Cc: Mel Gorman <[email protected]> (reviewer:SCHEDULER)
Cc: Valentin Schneider <[email protected]> (reviewer:SCHEDULER)
Cc: Krzysztof Kozlowski <[email protected]> (commit_signer:2/4=50%,authored:2/4=50%,added_lines:2/5=40%,removed_lines:2/5=40%)
Cc: [email protected] (moderated list:ARM PORT)
Cc: [email protected] (open list)
Cc: [email protected] (open list:DRM DRIVERS)
Cc: [email protected] (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK, TOUCHSCREEN)...)
Cc: [email protected] (moderated list:ARM/STM32 ARCHITECTURE)
Cc: [email protected] (open list:DMA MAPPING HELPERS)