[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240204173105.935612-1-fabio.maria.de.francesco@linux.intel.com>
Date: Sun, 4 Feb 2024 18:31:03 +0100
From: "Fabio M. De Francesco" <fabio.maria.de.francesco@...ux.intel.com>
To: Peter Zijlstra <peterz@...radead.org>,
Dan Williams <dan.j.williams@...el.com>,
linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
linux-cxl@...r.kernel.org,
"Fabio M. De Francesco" <fabio.maria.de.francesco@...ux.intel.com>,
Ira Weiny <ira.weiny@...el.com>
Subject: [PATCH 0/2] Add cond_guard() to conditional guards
Add cond_guard() macro to conditional guards and use it to replace an
open-coded up_read() in show_targetN().
Cc: Peter Zijlstra <peterz@...radead.org>
Suggested-by: Dan Williams <dan.j.williams@...el.com>
Suggested-by: Ira Weiny <ira.weiny@...el.com>
Fabio M. De Francesco (2):
cleanup: Add cond_guard() to conditional guards
cxl/region: Use cond_guard() in show_targetN()
drivers/cxl/core/region.c | 16 ++++------------
include/linux/cleanup.h | 14 ++++++++++++++
2 files changed, 18 insertions(+), 12 deletions(-)
--
2.43.0
Powered by blists - more mailing lists