[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YSkmCVwLvfusqtmA@slm.duckdns.org>
Date: Fri, 27 Aug 2021 07:51:05 -1000
From: Tejun Heo <tj@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2] cgroup: Avoid compiler warnings with no subsystems
On Fri, Aug 27, 2021 at 08:04:24AM -0700, Kees Cook wrote:
> + if (CGROUP_SUBSYS_COUNT > 0 && ss)
Can we encapsulate this in a macro so that it's clear (or at least
consolidated) why we need these without adding a comment in each spot?
Thanks.
--
tejun
Powered by blists - more mailing lists