Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1370170imc; Sun, 17 Mar 2019 12:03:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzx7cAGpC6XlssmKAlgobeR4gBbAtY/1alL75NPff2PalOSoJfWndNxBE4kWL7ogFFZlmV4 X-Received: by 2002:a63:dc4a:: with SMTP id f10mr13149729pgj.231.1552849439054; Sun, 17 Mar 2019 12:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552849439; cv=none; d=google.com; s=arc-20160816; b=GIDl3INMjqvkfvQ+66h6eflKFReS3LmfGT8hEucwrDS2EflNBc7BLkZwa6PenxnoHk H+sYpczPH0v+0GRBBKrsJ/hEoxPdJie7jbda0DaHcuB5PIJ61P6BcWHOPt4YndJVDgEb LNnzKJOMAVUHsikQpbGU198hGirHHTvoeiFGBA0eM1efrZ1cN4rhmlSWtzjwPCC0zEmD H6kX4SKqLzJQFnpZy98Yuv91PkHn6wAHTnfVV+r8XLN8IaZZpc4CB7FlFVUjzanmEnVo z+Bh98W/2X2tj4kyVm8dRlqzIQhU3/QIG0YpMYsUIedjIaKpbfB/FgsgRr+9Yaiil/jy cVWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=fzWRPNqPmtPJ99EOI6Epo1ScVglqdY4/t7+o7ydAA4Q=; b=n+IQku/gvB2S+PhOq4fUJ1TjdcL+zWGCnqL7SZ41V61SC6Eg7vWDz99bLmDK7gmk1v UmtIPOQsA/e1y1+wfBSYEuMXm/nSQFEnT+W7cQcFDQNYWJOJBeGd7bcrGVdDBxjmiQbh Z15YUix+cbRcKI5wGR3urcmIXAhyrj9KN3h8aThgCo9Pc/Zojysb6fycgTQvHmrtB9r2 wixDgIAzDO9ea9cz+xMqOFA1XhBf61SVOo2eIe6ZgFiXYsF8TPdPINpbh/BpNAaRPArm FTHfARSTXAgAf7HVzSZRE2yeRokgkftDBaWge5HckBPy8ssTT4fxrvG0Pp84/b9MsTyA VU7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2si7582719pfi.103.2019.03.17.12.03.05; Sun, 17 Mar 2019 12:03:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726728AbfCQS6R (ORCPT + 99 others); Sun, 17 Mar 2019 14:58:17 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:39396 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfCQS6Q (ORCPT ); Sun, 17 Mar 2019 14:58:16 -0400 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Sun, 17 Mar 2019 19:58:15 +0100 Received: from localhost.localdomain (nwb-a10-snat.microfocus.com [10.120.13.201]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Sun, 17 Mar 2019 18:58:05 +0000 From: Davidlohr Bueso To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, dave@stgolabs.net, Davidlohr Bueso Subject: [PATCH] lib/plist: rename DEBUG_PI_LIST to DEBUG_PLIST Date: Sun, 17 Mar 2019 11:54:34 -0700 Message-Id: <20190317185434.1626-1-dave@stgolabs.net> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a lot more appropriate than PI_LIST, which in the kernel one would assume that it has to do with priority-inheritance; which is not -- furthermore futexes make use of plists so this can be even more confusing, albeit the debug nature of the config option. Signed-off-by: Davidlohr Bueso --- include/linux/plist.h | 4 ++-- lib/Kconfig.debug | 2 +- lib/plist.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/plist.h b/include/linux/plist.h index 97883604a3c5..9365df5a823f 100644 --- a/include/linux/plist.h +++ b/include/linux/plist.h @@ -231,7 +231,7 @@ static inline int plist_node_empty(const struct plist_node *node) * @type: the type of the struct this is embedded in * @member: the name of the list_head within the struct */ -#ifdef CONFIG_DEBUG_PI_LIST +#ifdef CONFIG_DEBUG_PLIST # define plist_first_entry(head, type, member) \ ({ \ WARN_ON(plist_head_empty(head)); \ @@ -248,7 +248,7 @@ static inline int plist_node_empty(const struct plist_node *node) * @type: the type of the struct this is embedded in * @member: the name of the list_head within the struct */ -#ifdef CONFIG_DEBUG_PI_LIST +#ifdef CONFIG_DEBUG_PLIST # define plist_last_entry(head, type, member) \ ({ \ WARN_ON(plist_head_empty(head)); \ diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 0d9e81779e37..ccb89aeb227c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1350,7 +1350,7 @@ config DEBUG_LIST If unsure, say N. -config DEBUG_PI_LIST +config DEBUG_PLIST bool "Debug priority linked list manipulation" depends on DEBUG_KERNEL help diff --git a/lib/plist.c b/lib/plist.c index 199408f91057..d3bd8827186f 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -26,7 +26,7 @@ #include #include -#ifdef CONFIG_DEBUG_PI_LIST +#ifdef CONFIG_DEBUG_PLIST static struct plist_head test_head; @@ -173,7 +173,7 @@ void plist_requeue(struct plist_node *node, struct plist_head *head) plist_check_head(head); } -#ifdef CONFIG_DEBUG_PI_LIST +#ifdef CONFIG_DEBUG_PLIST #include #include #include -- 2.16.4