linux-stable/kernel/cgroup
Tejun Heo 310b4816a5 cgroup: mark cgroup_get() with __maybe_unused
a590b90d47 ("cgroup: fix spurious warnings on cgroup_is_dead() from
cgroup_sk_alloc()") converted most cgroup_get() usages to
cgroup_get_live() leaving cgroup_sk_alloc() the sole user of
cgroup_get().  When !CONFIG_SOCK_CGROUP_DATA, this ends up triggering
unused warning for cgroup_get().

Silence the warning by adding __maybe_unused to cgroup_get().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: http://lkml.kernel.org/r/20170501145340.17e8ef86@canb.auug.org.au
Signed-off-by: Tejun Heo <tj@kernel.org>
2017-05-01 15:24:14 -04:00
..
cgroup-internal.h cgroup: avoid attaching a cgroup root to two different superblocks, take 2 2017-04-28 18:04:54 -04:00
cgroup-v1.c cgroup: avoid attaching a cgroup root to two different superblocks, take 2 2017-04-28 18:04:54 -04:00
cgroup.c cgroup: mark cgroup_get() with __maybe_unused 2017-05-01 15:24:14 -04:00
cpuset.c cpuset: Remove cpuset_update_active_cpus()'s parameter. 2017-04-11 08:57:54 +09:00
freezer.c
Makefile
namespace.c kernel: convert cgroup_namespace.count from atomic_t to refcount_t 2017-03-06 14:55:22 -05:00
pids.c sched/headers, cgroups: Remove the threadgroup_change_*() wrappery 2017-03-02 08:42:25 +01:00
rdma.c