Skip to contentSkip to conversation

mtd: Update the function name to 'rfree'

PATCH In review Fabio Estevam 2 participants 3 messages Oct 7, 2022 – Oct 10, 2022 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")

---
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
index ff635bd716..09f5269887 100644
@@ -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
Acked-by on v2 1/1
#1 lore raw

Hi

Quoted 29 lines · Fabio Estevam

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.

Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")

---
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
index ff635bd716..09f5269887 100644
@@ -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
#2 lore raw
Quoted 29 lines · Michael Nazzareno Trimarchi

Hi

Quoted 25 lines · Fabio Estevam

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.

Fixes 8d38a8459b0d ("mtd: Rename free() to rfree()")

---
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
index ff635bd716..09f5269887 100644
@@ -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