Skip to content

Fixes for liblockdep

Ben Hutchings lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7liblockdep: Fix undefined symbol prandom_u32tools/lib/lockdep/common.c+6 -01 reply
2/7liblockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing lock_chain::depthtools/lib/lockdep/uinclude/linux/lockdep.h+1 -11 reply
3/7liblockdep: Define the ARRAY_SIZE() macrotools/lib/lockdep/uinclude/linux/kernel.h+2 -00 replies
4/7liblockdep: Enable -Wall by defaulttools/lib/lockdep/Makefile+1 -00 replies
5/7liblockdep: Fix 'unused value' warningstools/lib/lockdep/uinclude/linux/debug_locks.h tools/lib/lockdep/uinclude/linux/kernel.h tools/lib/lockdep/uinclude/linux/lockdep.h+15 -50 replies
6/7liblockdep: Fix 'set but not used' warningstools/lib/lockdep/uinclude/linux/irqflags.h+4 -40 replies
7/7liblockdep: Fix 'defined but not used' warning for init_utsname()tools/lib/lockdep/lockdep.c tools/lib/lockdep/uinclude/linux/lockdep.h+10 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Fixes for liblockdep

Here are a number of fixes for liblockdep. The first three need to go into 4.7 and 4.6-stable; the second should probably go to all stable branches.

Ben.

Ben Hutchings (7):
liblockdep: Fix undefined symbol prandom_u32
liblockdep: Reduce MAX_LOCK_DEPTH to avoid overflowing
lock_chain::depth
liblockdep: Define the ARRAY_SIZE() macro
liblockdep: Enable -Wall by default
liblockdep: Fix 'unused value' warnings
liblockdep: Fix 'set but not used' warnings
liblockdep: Fix 'defined but not used' warning for init_utsname()

 tools/lib/lockdep/Makefile                     |  1 +
 tools/lib/lockdep/common.c                     |  6 ++++++
 tools/lib/lockdep/lockdep.c                    | 10 ++++++++++
 tools/lib/lockdep/uinclude/linux/debug_locks.h |  2 +-
 tools/lib/lockdep/uinclude/linux/irqflags.h    |  8 ++++----
 tools/lib/lockdep/uinclude/linux/kernel.h      | 14 +++++++++++---
 tools/lib/lockdep/uinclude/linux/lockdep.h     | 18 ++++++------------
 7 files changed, 39 insertions(+), 20 deletions(-)