[PATCH 28/35] UBI: Reorganize kerneldoc parameter names

Julia Lawall Julia.Lawall at inria.fr
Mon Sep 30 04:21:14 PDT 2024


Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall at inria.fr>

---
 drivers/mtd/ubi/eba.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index c7ba7a15c9f7..efce5bf41ef6 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -731,8 +731,8 @@ int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum,
  * ubi_eba_read_leb_sg - read data into a scatter gather list.
  * @ubi: UBI device description object
  * @vol: volume description object
- * @lnum: logical eraseblock number
  * @sgl: UBI scatter gather list to store the read data
+ * @lnum: logical eraseblock number
  * @offset: offset from where to read
  * @len: how many bytes to read
  * @check: data CRC check flag




More information about the linux-mtd mailing list