Skip to contentSkip to conversation

block/partitions/efi.c: Fix the efi_partition() kernel-doc header

PATCH Superseded Bart Van Assche 2 participants 3 messages May 12, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block/partitions/efi.c: Fix the efi_partition() kernel-doc header

Fix the following kernel-doc warning:

block/partitions/efi.c:685: warning: wrong kernel-doc identifier on line:
* efi_partition(struct parsed_partitions *state)

Cc Alexander Viro <[email protected]>
Fixes a22f8253014b ("[PATCH] partition parsing cleanup")
---
 block/partitions/efi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/partitions/efi.c +1 -1
index b64bfdd4326c..e2716792ecc1 100644
@@ -682,7 +682,7 @@ static void utf16_le_to_7bit(const __le16 *in, unsigned int size, u8 *out)
 }
 
 /**
- * efi_partition(struct parsed_partitions *state)
+ * efi_partition - scan for GPT partitions
  * @state: disk parsed partitions
  *
  * Description: called from check.c, if the disk contains GPT
maintainer
#1 lore raw
Quoted 7 lines · Bart Van Assche

Fix the following kernel-doc warning:

block/partitions/efi.c:685: warning: wrong kernel-doc identifier on line:
* efi_partition(struct parsed_partitions *state)

Cc Alexander Viro <[email protected]>
Fixes a22f8253014b ("[PATCH] partition parsing cleanup")

Heh, I think using a sha from the history tree might cause more harm than good. If you want it applied to any stable, probably better to just use:

Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 6 lines · Jens Axboe
Quoted 5 lines · Bart Van Assche

Fix the following kernel-doc warning:

block/partitions/efi.c:685: warning: wrong kernel-doc identifier on line:
* efi_partition(struct parsed_partitions *state)

Quoted 8 lines
Quoted 2 lines
Cc Alexander Viro <[email protected]>
Fixes a22f8253014b ("[PATCH] partition parsing cleanup")

Heh, I think using a sha from the history tree might cause more harm than good. If you want it applied to any stable, probably better to just use:

Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2")

You are right, but it is not my intention to send this patch to any stable tree. I'm fine with leaving out the Fixes: tag. If it would be inconvenient for you to do this then I will repost this patch.

Thanks,

Bart.