* [PATCH v1] tools: remove duplicate assignment
@ 2023-07-04 12:21 Minjie Du
2023-08-02 21:18 ` Sean Christopherson
0 siblings, 1 reply; 2+ messages in thread
From: Minjie Du @ 2023-07-04 12:21 UTC (permalink / raw)
To: Paolo Bonzini, Shuah Khan, Minjie Du, Stephen Rothwell,
open list:KERNEL VIRTUAL MACHINE (KVM),
open list:KERNEL SELFTEST FRAMEWORK, open list
Cc: opensource.kernel
Fix: make 'nodep' remove duplicate assignment
Signed-off-by: Minjie Du <duminjie@vivo.com>
---
tools/testing/selftests/kvm/lib/sparsebit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/lib/sparsebit.c b/tools/testing/selftests/kvm/lib/sparsebit.c
index 50e0cf41a..88cb6b84e 100644
--- a/tools/testing/selftests/kvm/lib/sparsebit.c
+++ b/tools/testing/selftests/kvm/lib/sparsebit.c
@@ -634,7 +634,6 @@ static void node_reduce(struct sparsebit *s, struct node *nodep)
tmp = node_prev(s, nodep);
node_rm(s, nodep);
- nodep = NULL;
nodep = tmp;
reduction_performed = true;
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] tools: remove duplicate assignment
2023-07-04 12:21 [PATCH v1] tools: remove duplicate assignment Minjie Du
@ 2023-08-02 21:18 ` Sean Christopherson
0 siblings, 0 replies; 2+ messages in thread
From: Sean Christopherson @ 2023-08-02 21:18 UTC (permalink / raw)
To: Sean Christopherson, Paolo Bonzini, Shuah Khan, Stephen Rothwell,
kvm, linux-kselftest, linux-kernel, Minjie Du
Cc: opensource.kernel
On Tue, 04 Jul 2023 20:21:47 +0800, Minjie Du wrote:
> Fix: make 'nodep' remove duplicate assignment
>
>
Applied to kvm-x86 selftests (with some massaging of the changelog), thanks!
[1/1] tools: remove duplicate assignment
https://github.com/kvm-x86/linux/commit/7e4966e6e13d
--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-02 21:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 12:21 [PATCH v1] tools: remove duplicate assignment Minjie Du
2023-08-02 21:18 ` Sean Christopherson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.