Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753696AbcDVITX (ORCPT ); Fri, 22 Apr 2016 04:19:23 -0400 Received: from mga01.intel.com ([192.55.52.88]:25462 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753602AbcDVITS (ORCPT ); Fri, 22 Apr 2016 04:19:18 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,516,1455004800"; d="scan'208";a="89859927" From: changbin.du@intel.com To: akpm@linux-foundation.org Cc: corbet@lwn.net, paulmck@linux.vnet.ibm.com, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, tglx@linutronix.de, john.stultz@linaro.org, tj@kernel.org, borntraeger@de.ibm.com, dchinner@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "Du, Changbin" Subject: [PATCH 0/7] Make debugobjects fixup functions return bool type Date: Fri, 22 Apr 2016 16:07:41 +0800 Message-Id: <1461312468-14335-1-git-send-email-changbin.du@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1520 Lines: 36 From: "Du, Changbin" 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 (akpm@linux-foundation.org) 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(-) -- 2.7.4