* [PATCH] mtd: Remove obsolete macros only used by the old nand_ecclayout struct
@ 2021-08-30 8:33 GONG, Ruiqi
2021-09-14 17:40 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: GONG, Ruiqi @ 2021-08-30 8:33 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
Cc: linux-mtd, linux-kernel, Yi Yang, Wang Weiyang, Xiu Jianfeng
All uses of MTD_MAX_{OOBFREE,ECCPOS}_ENTRIES_LARGE have been removed as
commit ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") and
commit aab616e31d1c ("mtd: kill the nand_ecclayout struct") replaced
struct nand_ecclayout by the new mtd_ooblayout_ops interface. Remove
these two macros therefore.
Reported-by: Yi Yang <yiyang13@huawei.com>
Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
---
include/linux/mtd/mtd.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 88227044fc86..f5e7dfc2e4e9 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -72,8 +72,6 @@ struct mtd_oob_ops {
uint8_t *oobbuf;
};
-#define MTD_MAX_OOBFREE_ENTRIES_LARGE 32
-#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640
/**
* struct mtd_oob_region - oob region definition
* @offset: region offset
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: Remove obsolete macros only used by the old nand_ecclayout struct
2021-08-30 8:33 [PATCH] mtd: Remove obsolete macros only used by the old nand_ecclayout struct GONG, Ruiqi
@ 2021-09-14 17:40 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2021-09-14 17:40 UTC (permalink / raw)
To: GONG, Ruiqi, Miquel Raynal, Richard Weinberger, Vignesh Raghavendra
Cc: linux-mtd, linux-kernel, Yi Yang, Wang Weiyang, Xiu Jianfeng
On Mon, 2021-08-30 at 08:33:56 UTC, "GONG, Ruiqi" wrote:
> All uses of MTD_MAX_{OOBFREE,ECCPOS}_ENTRIES_LARGE have been removed as
> commit ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") and
> commit aab616e31d1c ("mtd: kill the nand_ecclayout struct") replaced
> struct nand_ecclayout by the new mtd_ooblayout_ops interface. Remove
> these two macros therefore.
>
> Reported-by: Yi Yang <yiyang13@huawei.com>
> Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-14 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 8:33 [PATCH] mtd: Remove obsolete macros only used by the old nand_ecclayout struct GONG, Ruiqi
2021-09-14 17:40 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).