Skip to content

Make debugobjects fixup functions return bool type

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7debugobjects: make fixup functions return bool instead of intinclude/linux/debugobjects.h lib/debugobjects.c+29 -293 replies
2/7debugobjects: correct the usage of fixup call resultslib/debugobjects.c+1 -11 reply
3/7workqueue: update debugobjects fixup callbacks return typekernel/workqueue.c+10 -100 replies
4/7timer: update debugobjects fixup callbacks return typekernel/time/hrtimer.c kernel/time/timer.c+24 -240 replies
5/7rcu: update debugobjects fixup callbacks return typekernel/rcu/update.c+3 -30 replies
6/7percpu_counter: update debugobjects fixup callbacks return typelib/percpu_counter.c+3 -30 replies
7/7Documentation: update debugobjects docDocumentation/DocBook/debugobjects.tmpl+14 -120 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] Make debugobjects fixup functions return bool type

From: "Du, Changbin" <[email protected]>

Hello,
I am going to introduce debugobjects infrastructure to USB subsystem. But before this, I found the code of debugobjects could be improved. This patchset will make fixup functions return bool type instead of int. Because fixup only need report success or no. boolean is the 'real' type.

The MAINTAINERS file doesn't include lib/debugobjects.c, so I can only send to Andrew Morton ([email protected]) as a last resort. :)

I will probaly have 2 other patches which send later.

Du, Changbin (7):
debugobjects: make fixup functions return bool instead of int
debugobjects: correct the usage of fixup call results
workqueue: update debugobjects fixup callbacks return type
timer: update debugobjects fixup callbacks return type
rcu: update debugobjects fixup callbacks return type
percpu_counter: update debugobjects fixup callbacks return type
Documentation: update debugobjects doc

 Documentation/DocBook/debugobjects.tmpl | 26 ++++++++++---------
 include/linux/debugobjects.h            | 15 ++++++-----
 kernel/rcu/update.c                     |  6 ++---
 kernel/time/hrtimer.c                   | 18 ++++++-------
 kernel/time/timer.c                     | 30 +++++++++++-----------
 kernel/workqueue.c                      | 20 +++++++--------
 lib/debugobjects.c                      | 45 ++++++++++++++++-----------------
 lib/percpu_counter.c                    |  6 ++---
 8 files changed, 84 insertions(+), 82 deletions(-)
Signature · 1 line
2.7.4