aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/intel-quark/imr.c
diff options
context:
space:
mode:
authorAditya Srivastava <yashsri421@gmail.com>2021-03-31 03:00:22 +0530
committerThomas Gleixner <tglx@linutronix.de>2021-04-10 13:59:25 +0200
commit0d6c8e1e246586b81cb4e6ab1a93a6d4a08a0cf9 (patch)
treee0cc650a3da49f567e1d345178dd9feeb96dd833 /arch/x86/platform/intel-quark/imr.c
parentx86/msr: Make locally used functions static (diff)
downloadlinux-dev-0d6c8e1e246586b81cb4e6ab1a93a6d4a08a0cf9.tar.xz
linux-dev-0d6c8e1e246586b81cb4e6ab1a93a6d4a08a0cf9.zip
x86/platform/intel/quark: Fix incorrect kernel-doc comment syntax in files
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in arch/x86/platform/intel-quark, which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed due to the presence of kernel-doc like comment syntax(i.e, '/**'), which causes unexpected warnings from kernel-doc. E.g., presence of kernel-doc like comment in the header lines for arch/x86/platform/intel-quark/imr.c causes these warnings: "warning: Function parameter or member 'fmt' not described in 'pr_fmt'" "warning: expecting prototype for c(). Prototype was for pr_fmt() instead" Similarly for arch/x86/platform/intel-quark/imr_selftest.c too. Provide a simple fix by replacing these occurrences with general comment format, i.e. '/*', to prevent kernel-doc from parsing it. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20210330213022.28769-1-yashsri421@gmail.com
Diffstat (limited to 'arch/x86/platform/intel-quark/imr.c')
-rw-r--r--arch/x86/platform/intel-quark/imr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/intel-quark/imr.c b/arch/x86/platform/intel-quark/imr.c
index 122e0f37b1f5..d3d456925b2a 100644
--- a/arch/x86/platform/intel-quark/imr.c
+++ b/arch/x86/platform/intel-quark/imr.c
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
* imr.c -- Intel Isolated Memory Region driver
*
* Copyright(c) 2013 Intel Corporation.