kernel/sched/core.c:6299:35: error: 'struct task_struct' has no member named 'plug'

From: Naresh Kamboju
Date: Sun Oct 24 2021 - 23:41:46 EST


Regression found on arm gcc-11 built with tinyconfig
Following build warnings / errors reported on linux next 20211022.

metadata:
git_describe: next-20211022
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: cf6c9d12750c (\"Add linux-next specific files for 20211022\")
target_arch: arm
toolchain: gcc-11

build error :
--------------
kernel/sched/core.c: In function 'sched_submit_work':
kernel/sched/core.c:6299:35: error: 'struct task_struct' has no member
named 'plug'
6299 | blk_flush_plug(tsk->plug, true);
| ^~
kernel/sched/core.c: In function 'io_schedule_prepare':
kernel/sched/core.c:8331:20: error: 'struct task_struct' has no member
named 'plug'
8331 | if (current->plug)
| ^~

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

build link:
-----------
https://builds.tuxbuild.com/1zrAO09dMNS9qQgDFaILyvKNS3A/build.log

build config:
-------------
https://builds.tuxbuild.com/1zrAO09dMNS9qQgDFaILyvKNS3A/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig tinyconfig

--
Linaro LKFT
https://lkft.linaro.org