diff options
author | Eric W. Biederman <[email protected]> | 2021-12-21 11:41:14 -0600 |
---|---|---|
committer | Eric W. Biederman <[email protected]> | 2021-12-21 16:20:51 -0600 |
commit | dd621ee0cf8eb32445c8f5f26d3b7555953071d8 (patch) | |
tree | b5fbd53d395492a49ca781aa7763afc869b7571d /net/lapb/lapb_in.c | |
parent | ff8288ff475e47544569359772f88f2b39fd2cf9 (diff) |
kthread: Warn about failed allocations for the init kthread
Failed allocates are not expected when setting up the initial task and
it is not really possible to handle them either. So I added a warning
to report if such an allocation failure ever happens.
Correct the sense of the warning so it warns when an allocation failure
happens not when the allocation succeeded. Oops.
Reported-by: kernel test robot <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Reported-by: Naresh Kamboju <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/CA+G9fYvLaR5CF777CKeWTO+qJFTN6vAvm95gtzN+7fw3Wi5hkA@mail.gmail.com
Link: https://lkml.kernel.org/r/20211216102956.GC10708@xsang-OptiPlex-9020
Fixes: 40966e316f86 ("kthread: Ensure struct kthread is present for all kthreads")
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions