From: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
To: stable@vger.kernel.org
Cc: pbonzini@redhat.com, shuah@kernel.org, kvm@vger.kernel.org,
LKML <linux-kernel@vger.kernel.org>,
Darren Kenny <darren.kenny@oracle.com>,
Liam Merwick <liam.merwick@oracle.com>,
Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Subject: 5.15.y backport request to fix compilation error in selftests/kvm
Date: Fri, 13 Jan 2023 15:32:25 +0530 [thread overview]
Message-ID: <2322a626-ac5a-9400-82bf-3aaccc5fddb7@oracle.com> (raw)
Hi,
On arm machine we have a compilation error while building
tools/testing/selftests/kvm/ with LTS 5.15.y kernel
rseq_test.c: In function ‘main’:
rseq_test.c:236:33: warning: implicit declaration of function ‘gettid’;
did you mean ‘getgid’? [-Wimplicit-function-declaration]
(void *)(unsigned long)gettid());
^~~~~~
getgid
/tmp/cc4Wfmv2.o: In function `main':
/home/test/linux/tools/testing/selftests/kvm/rseq_test.c:236: undefined
reference to `gettid'
collect2: error: ld returned 1 exit status
make: *** [../lib.mk:151:
/home/test/linux/tools/testing/selftests/kvm/rseq_test] Error 1
make: Leaving directory '/home/test/linux/tools/testing/selftests/kvm'
This is fixed by commit 561cafebb2cf97b0927b4fb0eba22de6200f682e upstream.
Kernel version to apply: 5.15.y LTS
Could we please backport the above fix onto 5.15.y LTS. It applies
cleanly and the kvm selftests compile properly after applying the patch.
Liam pointed the same in [1]
Thanks,
Harshit
[1]
https://lore.kernel.org/all/fdfb143a-45c4-aaff-aa95-d20c076ff555@oracle.com/
next reply other threads:[~2023-01-13 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 10:02 Harshit Mogalapalli [this message]
2023-01-14 9:49 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2322a626-ac5a-9400-82bf-3aaccc5fddb7@oracle.com \
--to=harshit.m.mogalapalli@oracle.com \
--cc=darren.kenny@oracle.com \
--cc=kvm@vger.kernel.org \
--cc=liam.merwick@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=shuah@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®