* [RFC PATCH] kvm: replace spaces with a tab
@ 2024-05-16 9:31 Mohamed Karaoui
2024-05-16 9:38 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Mohamed Karaoui @ 2024-05-16 9:31 UTC (permalink / raw)
To: kernelnewbies; +Cc: Mohamed Karaoui
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)
Signed-off-by: Mohamed Karaoui <moharaka@gmail.com>
---
virt/kvm/kvm_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index ff0a20565f90..cd4702e069ca 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -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
--
2.34.1
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] kvm: replace spaces with a tab
2024-05-16 9:31 [RFC PATCH] kvm: replace spaces with a tab Mohamed Karaoui
@ 2024-05-16 9:38 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-05-16 9:38 UTC (permalink / raw)
To: Mohamed Karaoui; +Cc: kernelnewbies
On Thu, May 16, 2024 at 10:31:45AM +0100, Mohamed Karaoui wrote:
> 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.
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
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-16 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 9:31 [RFC PATCH] kvm: replace spaces with a tab Mohamed Karaoui
2024-05-16 9:38 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox