mtd: Update the function name to 'rfree'
PATCH v2 1/1 mtd: Update the function name to 'rfree'
Since commit 8d38a8459b0d ("mtd: Rename free() to rfree()") the function has been renamed to rfree(), so update the description inside the mtd_oob_region structure as well.
---
Changes since v1:
- Use mtd: in the Subject (Michael).
include/linux/mtd/mtd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mtd/mtd.h +1 -1
@@ -122,7 +122,7 @@ struct mtd_oob_region {* @ecc: function returning an ECC region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * ECC sections. -* @free: function returning a free region in the OOB area. +* @rfree: function returning a free region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * free sections. */
Signature · 1 line
2.25.1
Hi
Quoted 29 lines · Fabio Estevam
Since commit
8d38a8459b0d("mtd: Renamefree()torfree()") the function has been renamed torfree(), so update the description inside themtd_oob_regionstructure as well.Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")Reported-by Mikhail Kshevetskiy <[email protected]>Signed-off-by Fabio Estevam <[email protected]>---
Changes since v1:
- Use mtd: in the Subject (Michael).include/linux/mtd/mtd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/mtd/mtd.h +1
-2@@ -122,7 +122,7 @@ struct mtd_oob_region {* @ecc: function returning an ECC region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * ECC sections. -* @free: function returning a free region in the OOB area. +* @rfree: function returning a free region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * free sections. */ --
Quoted 2 lines
2.25.1
Signature · 11 lines
Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 [email protected] __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 [email protected] www.amarulasolutions.com
Quoted 29 lines · Michael Nazzareno Trimarchi
Hi
Quoted 25 lines · Fabio Estevam
Since commit
8d38a8459b0d("mtd: Renamefree()torfree()") the function has been renamed torfree(), so update the description inside themtd_oob_regionstructure as well.Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")Reported-by Mikhail Kshevetskiy <[email protected]>Signed-off-by Fabio Estevam <[email protected]>---
Changes since v1:
- Use mtd: in the Subject (Michael).include/linux/mtd/mtd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/linux/mtd/mtd.h +1
-1@@ -122,7 +122,7 @@ struct mtd_oob_region {* @ecc: function returning an ECC region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * ECC sections. -* @free: function returning a free region in the OOB area. +* @rfree: function returning a free region in the OOB area.
Quoted 9 lines
Quoted 6 lines
include/linux/mtd/mtd.h +0
-1* Should return -ERANGE if %section exceeds the total number of * free sections. */ --2.25.1
Applied thanks
Michael
Quoted 13 lines
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com
Signature · 11 lines
Michael Nazzareno Trimarchi Co-Founder & Chief Executive Officer M. +39 347 913 2170 [email protected] __________________________________ Amarula Solutions BV Joop Geesinkweg 125, 1114 AB, Amsterdam, NL T. +31 (0)85 111 9172 [email protected] www.amarulasolutions.com