Documentation: update debugobjects doc
authorDu, Changbin <changbin.du@intel.com>
Fri, 20 May 2016 00:09:38 +0000 (17:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
Update documentation creangponding to change(debugobjects: make fixup
functions return bool instead of int).

Signed-off-by: Du, Changbin <changbin.du@intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Josh Triplett <josh@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/DocBook/debugobjects.tmpl

index 24979f6..7e4f34f 100644 (file)
        </itemizedlist>
       </para>
       <para>
-       The function returns 1 when the fixup was successful,
-       otherwise 0. The return value is used to update the
+       The function returns true when the fixup was successful,
+       otherwise false. The return value is used to update the
        statistics.
       </para>
       <para>
        </itemizedlist>
       </para>
       <para>
-       The function returns 1 when the fixup was successful,
-       otherwise 0. The return value is used to update the
+       The function returns true when the fixup was successful,
+       otherwise false. The return value is used to update the
        statistics.
       </para>
       <para>
        statically initialized object or not. In case it is it calls
        debug_object_init() and debug_object_activate() to make the
        object known to the tracker and marked active. In this case
-       the function should return 0 because this is not a real fixup.
+       the function should return false because this is not a real
+       fixup.
       </para>
     </sect1>
 
        </itemizedlist>
       </para>
       <para>
-       The function returns 1 when the fixup was successful,
-       otherwise 0. The return value is used to update the
+       The function returns true when the fixup was successful,
+       otherwise false. The return value is used to update the
        statistics.
       </para>
     </sect1>
        </itemizedlist>
       </para>
       <para>
-       The function returns 1 when the fixup was successful,
-       otherwise 0. The return value is used to update the
+       The function returns true when the fixup was successful,
+       otherwise false. The return value is used to update the
        statistics.
       </para>
     </sect1>
        debug bucket.
       </para>
       <para>
-       The function returns 1 when the fixup was successful,
-       otherwise 0. The return value is used to update the
+       The function returns true when the fixup was successful,
+       otherwise false. The return value is used to update the
        statistics.
       </para>
       <para>
        case. The fixup function should check if this is a legitimate
        case of a statically initialized object or not. In this case only
        debug_object_init() should be called to make the object known to
-       the tracker. Then the function should return 0 because this is not
+       the tracker. Then the function should return false because this
+       is not
        a real fixup.
       </para>
     </sect1>