mtd.h: Update the function name to 'rfree'
PATCH 1/1 mtd.h: 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.
--- 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 26 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]>--- 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
Michael
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
HI
Quoted 9 lines · Michael Nazzareno Trimarchi
Hi
Quoted 5 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.
One minor on the patch subject
mtd: <here your comment>
Michael
Quoted 41 lines
Quoted 21 lines
Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")Reported-by Mikhail Kshevetskiy <[email protected]>Signed-off-by Fabio Estevam <[email protected]>--- 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
Reviewed-by Michael Trimarchi <[email protected]>Michael
--
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