mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/6] KVM: fix checkpatch warnings
@ 2022-03-05 20:26 Henry Sloan
  2022-03-05 20:26 ` [PATCH 2/6] " Henry Sloan
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Henry Sloan @ 2022-03-05 20:26 UTC (permalink / raw)
  Cc: pbonzini, Henry Sloan, kvm, linux-kernel

Fix "SPDX comment style" warnings

This patchset fixes many checkpatch warnings in the virt/kvm directory.
The warnings and errors that will remain are of the following kinds:
* "memory barrier without comment" warnings that don't have trivial fixes
* "function definition argument should also have an identifier name"
  warnings
* Numerous minor issues in kvm_main.c that merit a separate patch

Signed-off-by: Henry Sloan <henryksloan@gmail.com>
---
 virt/kvm/dirty_ring.c | 2 +-
 virt/kvm/kvm_mm.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/virt/kvm/dirty_ring.c b/virt/kvm/dirty_ring.c
index 222ecc81d7df..f4c2a6eb1666 100644
--- a/virt/kvm/dirty_ring.c
+++ b/virt/kvm/dirty_ring.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM dirty ring implementation
  *
diff --git a/virt/kvm/kvm_mm.h b/virt/kvm/kvm_mm.h
index 34ca40823260..41da467d99c9 100644
--- a/virt/kvm/kvm_mm.h
+++ b/virt/kvm/kvm_mm.h
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0-only
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __KVM_MM_H__
 #define __KVM_MM_H__ 1
-- 
2.35.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-03-05 20:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-05 20:26 [PATCH 1/6] KVM: fix checkpatch warnings Henry Sloan
2022-03-05 20:26 ` [PATCH 2/6] " Henry Sloan
2022-03-05 20:26 ` [PATCH 3/6] " Henry Sloan
2022-03-05 20:26 ` [PATCH 4/6] " Henry Sloan
2022-03-05 20:26 ` [PATCH 5/6] " Henry Sloan
2022-03-05 20:26 ` [PATCH 6/6] " Henry Sloan
2022-03-05 20:34 ` [PATCH 1/6] " Joe Perches

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®