Skip to content

Fix warnings in psi

Suren Baghdasaryan lkml 1 version Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2psi: Fix "no previous prototype" warnings when CONFIG_CGROUPS=ninclude/linux/psi.h+5 -61 reply
2/2psi: Fix "defined but not used" warnings when CONFIG_PROC_FS=nkernel/sched/psi.c+41 -381 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJohannes Weiner
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix warnings in psi

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(-)
Signature · 1 line
2.34.1.703.g22d0c6ccf7-goog