mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ubifs: describe function parameters
@ 2023-11-08  6:05 Sascha Hauer
  2023-11-08  6:16 ` Zhihao Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2023-11-08  6:05 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: linux-mtd, linux-kernel, Sascha Hauer, kernel test robot

With 16a26b20d2afd ("ubifs: authentication: Add hashes to index nodes")
insert_node() and insert_dent() got a new function parameter 'hash'. Add
a description for this new parameter.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311051618.D7YUE1Rr-lkp@intel.com/
---
 fs/ubifs/replay.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c
index c59d47fe79396..17da28d6247ac 100644
--- a/fs/ubifs/replay.c
+++ b/fs/ubifs/replay.c
@@ -365,6 +365,7 @@ static void destroy_replay_list(struct ubifs_info *c)
  * @lnum: node logical eraseblock number
  * @offs: node offset
  * @len: node length
+ * @hash: node hash
  * @key: node key
  * @sqnum: sequence number
  * @deletion: non-zero if this is a deletion
@@ -417,6 +418,7 @@ static int insert_node(struct ubifs_info *c, int lnum, int offs, int len,
  * @lnum: node logical eraseblock number
  * @offs: node offset
  * @len: node length
+ * @hash: node hash
  * @key: node key
  * @name: directory entry name
  * @nlen: directory entry name length
-- 
2.39.2


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

* Re: [PATCH] ubifs: describe function parameters
  2023-11-08  6:05 [PATCH] ubifs: describe function parameters Sascha Hauer
@ 2023-11-08  6:16 ` Zhihao Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2023-11-08  6:16 UTC (permalink / raw)
  To: Sascha Hauer, Richard Weinberger
  Cc: linux-mtd, linux-kernel, kernel test robot

在 2023/11/8 14:05, Sascha Hauer 写道:
> With 16a26b20d2afd ("ubifs: authentication: Add hashes to index nodes")
> insert_node() and insert_dent() got a new function parameter 'hash'. Add
> a description for this new parameter.
>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202311051618.D7YUE1Rr-lkp@intel.com/
> ---
>   fs/ubifs/replay.c | 2 ++
>   1 file changed, 2 insertions(+)

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>


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

end of thread, other threads:[~2023-11-08  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-08  6:05 [PATCH] ubifs: describe function parameters Sascha Hauer
2023-11-08  6:16 ` Zhihao Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®