summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctimap.h
diff options
context:
space:
mode:
authorAditya Srivastava <yashsri421@gmail.com>2021-03-17 21:39:32 +0100
committerTakashi Iwai <tiwai@suse.de>2021-03-18 10:14:08 +0100
commita08b9f2f2267421092bf4b882a9461858216ed47 (patch)
tree2bae817880579ec04715ba29c440faa775319d50 /sound/pci/ctxfi/ctimap.h
parentALSA: asihpi: fix comment syntax in file headers (diff)
downloadlinux-a08b9f2f2267421092bf4b882a9461858216ed47.tar.xz
linux-a08b9f2f2267421092bf4b882a9461858216ed47.zip
ALSA: ctxfi: fix comment syntax in file headers
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are files in sound/pci/ctxfi which follow this syntax in their file headers, i.e. start with '/**' like comments, which causes unexpected warnings from kernel-doc. E.g., running scripts/kernel-doc -none on sound/pci/ctxfi/ctresource.c causes this warning: "warning: wrong kernel-doc identifier on line: * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved." Similarly for other files too. Provide a simple fix by replacing the kernel-doc like comment syntax with general format, i.e. "/*", to prevent kernel-doc from parsing it. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20210317203932.23993-1-yashsri421@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctimap.h')
-rw-r--r--sound/pci/ctxfi/ctimap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctimap.h b/sound/pci/ctxfi/ctimap.h
index 79bc94bce4d5..49b1bb831410 100644
--- a/sound/pci/ctxfi/ctimap.h
+++ b/sound/pci/ctxfi/ctimap.h
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/**
+/*
* Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
*
* @File ctimap.h