[PATCH 0/2] Fix warnings in psi
From: Suren Baghdasaryan
Date: Wed Jan 19 2022 - 17:39:47 EST
The patchset fixes warnings in the psi module visible only in the below
configurations:
CONFIG_PSI=y && CONFIG_CGROUPS=n
CONFIG_PSI=y && CONFIG_PROC_FS=n
Reproduced using clang version 14.0.0.
The patches are based on sched/urgent branch:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/urgent
Suren Baghdasaryan (2):
psi: Fix "no previous prototype" warnings when CONFIG_CGROUPS=n
psi: Fix "defined but not used" warnings when CONFIG_PROC_FS=n
include/linux/psi.h | 11 +++----
kernel/sched/psi.c | 79 +++++++++++++++++++++++----------------------
2 files changed, 46 insertions(+), 44 deletions(-)
--
2.34.1.703.g22d0c6ccf7-goog