Re: [PATCH v2] cgroup: Avoid compiler warnings with no subsystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux