Skip to contentSkip to conversation

linux-next: build warning after merge of the nand tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Dec 1, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the nand tree, today's linux-next build (htmldocs) produced this warning:

include/linux/mtd/rawnand.h:1016: warning: Function parameter or member 'deassert_wp' not described in 'nand_operation'

Introduced by commit

e82a5a014dd5 ("mtd: rawnand: Add destructive operation")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

from this post:
https://github.com/bbrezillon/linux/commit/e612e1f2c69a33ac5f2c91d13669f0f172d58717

Looks like this comment needs to be added:

* @deassert_wp: set to true when the operation requires the WP pin to be
* de-asserted (ERASE, PROG, ...)

What's the best way to go about doing this?

Thanks!

-Dave

Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the nand tree, today's linux-next build (htmldocs) produced this warning:

include/linux/mtd/rawnand.h:1016: warning: Function parameter or member 'deassert_wp' not described in 'nand_operation'

Introduced by commit

e82a5a014dd5 ("mtd: rawnand: Add destructive operation")

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi David,

[email protected] wrote on Thu, 30 Nov 2023 21:03:00 -0800:

Quoted 5 lines

Hi Stephen,

from this post:
https://github.com/bbrezillon/linux/commit/e612e1f2c69a33ac5f2c91d13669f0f172d58717

Quoted 7 lines

Looks like this comment needs to be added:

* @deassert_wp: set to true when the operation requires the WP pin to be
* de-asserted (ERASE, PROG, ...)

What's the best way to go about doing this?

Please send a normal patch and I will take care of this.

Thanks,
Miquèl