[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <65baefec49c1a_4e7f52946b@dwillia2-xfh.jf.intel.com.notmuch>
Date: Wed, 31 Jan 2024 17:12:12 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: "Fabio M. De Francesco" <fabio.maria.de.francesco@...ux.intel.com>, "Peter
Zijlstra" <peterz@...radead.org>, <dan.j.williams@...el.com>
CC: <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...nel.org>,
<linux-cxl@...r.kernel.org>, Ira Weiny <ira.weiny@...el.com>
Subject: Re: [RFC PATCH v3] cleanup: Add cond_guard() to conditional guards
Fabio M. De Francesco wrote:
> I just noticed that this is not the final version. It misses a semicolon.
> Please discard this v3. I'm sending v4.
Ok, but do please copy the aspect of scoped_conf_guard() to take a
"_fail" statement argument. Passing a return code collector variable by
reference just feels a bit too magical. I like the explicitness of
passing the statement directly.
Powered by blists - more mailing lists