[PATCH] block/partitions/ldm.c: Fix a kernel-doc warning

Subsystems: block layer, logical disk manager support (ldm, windows 2000/xp/vista dynamic disks), the rest

STALE1834d LANDED

Landed in mainline as 2e9fb2c11e0e on 2021-08-05.

2 messages, 2 authors, 2021-08-05 · open the first message on its own page

[PATCH] block/partitions/ldm.c: Fix a kernel-doc warning

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-08-05 17:34:57

Fix the following kernel-doc warning that appears when building with W=1:

block/partitions/ldm.c:31: warning: expecting prototype for ldm().
Prototype was for ldm_debug() instead

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 block/partitions/ldm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/block/partitions/ldm.c b/block/partitions/ldm.c
index cc86534c80ad..b8b518d7fb77 100644
--- a/block/partitions/ldm.c
+++ b/block/partitions/ldm.c
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
-/**
+/*
  * ldm - Support for Windows Logical Disk Manager (Dynamic Disks)
  *
  * Copyright (C) 2001,2002 Richard Russon <ldm@flatcap.org>

Re: [PATCH] block/partitions/ldm.c: Fix a kernel-doc warning

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-08-05 17:49:34

On 8/5/21 11:34 AM, Bart Van Assche wrote:
Fix the following kernel-doc warning that appears when building with W=1:

block/partitions/ldm.c:31: warning: expecting prototype for ldm().
Prototype was for ldm_debug() instead
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help