[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220305202637.457103-1-henryksloan@gmail.com>
Date: Sat, 5 Mar 2022 15:26:32 -0500
From: Henry Sloan <henryksloan@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: pbonzini@...hat.com, Henry Sloan <henryksloan@...il.com>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/6] KVM: fix checkpatch warnings
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@...il.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
Powered by blists - more mailing lists