Skip to contentSkip to conversation

kvm: replace spaces with a tab

RFC PATCH In review Mohamed Karaoui 2 participants 2 messages May 16, 2024 KVM

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 kvm: replace spaces with a tab

Hi list,

This is an attempt to get a feeling of sending a first patch. Please feel free to comment.

I have few questions:

- I have build this patch against the torvalds/linux.git. Does it matter which tree I use as long as it works on the maintainer tree?

- In this particular case I checked the maintainer. It seems that its tree is something of 11 years old.

- Should I just go ahead and send this patch to the emails in ./scripts/get_maintainer.pl anyway? (replacing this message of course)

---
 virt/kvm/kvm_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
virt/kvm/kvm_main.c +1 -1
index ff0a20565f90..cd4702e069ca 100644
@@ -6368,7 +6368,7 @@ EXPORT_SYMBOL_GPL(kvm_get_running_vcpu);
  */
 struct kvm_vcpu * __percpu *kvm_get_running_vcpus(void)
 {
-        return &kvm_running_vcpu;
+	return &kvm_running_vcpu;
 }
 
 #ifdef CONFIG_GUEST_PERF_EVENTS
Signature · 7 lines
2.34.1


_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
#1 lore raw
Quoted 5 lines · Mohamed Karaoui

Hi list,

This is an attempt to get a feeling of sending a first patch. Please feel free to comment.

Quoted 7 lines

I have few questions:

- I have build this patch against the torvalds/linux.git. Does it matter which tree I use as long as it works on the maintainer tree?

- In this particular case I checked the maintainer. It seems that its tree is something of 11 years old.

I suggest working on drivers/staging/ first for basic coding style fixes like this, as they are encouraged there, but not necessarily in other parts of the kerenel at all.

Good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies