Skip to content

Commit 3becd11

Browse files
Qian Caimpe
authored andcommitted
powerpc/eeh_cache: fix a W=1 kernel-doc warning
The opening comment mark "/**" is reserved for kernel-doc comments, so it will generate a warning with "make W=1". arch/powerpc/kernel/eeh_cache.c:37: warning: cannot understand function prototype: 'struct pci_io_addr_range Since this is not a kernel-doc for the struct below, but rather an overview of this source eeh_cache.c, just use the free-form comments kernel-doc syntax instead. Signed-off-by: Qian Cai <cai@lca.pw> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent f079bb3 commit 3becd11

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎arch/powerpc/kernel/eeh_cache.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131

3232

3333
/**
34+
* DOC: Overview
35+
*
3436
* The pci address cache subsystem. This subsystem places
3537
* PCI device address resources into a red-black tree, sorted
3638
* according to the address range, so that given only an i/o
@@ -47,6 +49,7 @@
4749
* than any hash algo I could think of for this problem, even
4850
* with the penalty of slow pointer chases for d-cache misses).
4951
*/
52+
5053
struct pci_io_addr_range {
5154
struct rb_node rb_node;
5255
resource_size_t addr_lo;

0 commit comments

Comments
 (0)