diff options
author | Miaohe Lin <[email protected]> | 2023-07-11 10:38:20 +0800 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2023-07-11 11:46:00 -1000 |
commit | d1d4ff5d11a5887a9c4cfc00294bc68ba03e7c16 (patch) | |
tree | 270b865018cdb0d0afd0f1ae97a5d6b4cbdc7c5e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 3ae0b773211ed0231e7ee3e8d28ec4ab9bc5134b (diff) |
cgroup: put cgroup_tryget_css() inside CONFIG_CGROUP_SCHED
Put cgroup_tryget_css() inside CONFIG_CGROUP_SCHED to fix the warning
of 'cgroup_tryget_css' defined but not used [-Wunused-function] when
CONFIG_CGROUP_SCHED is disabled.
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions