linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/partitions/ldm.c: Fix a kernel-doc warning
@ 2021-08-05 17:34 Bart Van Assche
  2021-08-05 17:49 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Van Assche @ 2021-08-05 17:34 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Bart Van Assche

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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] block/partitions/ldm.c: Fix a kernel-doc warning
  2021-08-05 17:34 [PATCH] block/partitions/ldm.c: Fix a kernel-doc warning Bart Van Assche
@ 2021-08-05 17:49 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-08-05 17:49 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: linux-block, Christoph Hellwig

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-05 17:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 17:34 [PATCH] block/partitions/ldm.c: Fix a kernel-doc warning Bart Van Assche
2021-08-05 17:49 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).