public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 1/2] nand: nand torture: follow sync with linux v4.6
@ 2016-06-13  8:15 Max Krummenacher
  2016-06-13  8:15 ` [U-Boot] [PATCH v3 2/2] nand: extend nand torture Max Krummenacher
  0 siblings, 1 reply; 4+ messages in thread
From: Max Krummenacher @ 2016-06-13  8:15 UTC (permalink / raw)
  To: u-boot

follow parameter name change (nand to mtd) to fix compiler error.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

---

Changes in v3:
- none

Changes in v2:
- Patch v1 1/1 went into master, but Scott's patch series syncing
  with kernel v4.6 introduced an additional compile time error.

 drivers/mtd/nand/nand_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c
index 5bba66a..e8bcc34 100644
--- a/drivers/mtd/nand/nand_util.c
+++ b/drivers/mtd/nand/nand_util.c
@@ -820,7 +820,7 @@ int nand_torture(struct mtd_info *mtd, loff_t offset)
 {
 	u_char patterns[] = {0xa5, 0x5a, 0x00};
 	struct erase_info instr = {
-		.mtd = nand,
+		.mtd = mtd,
 		.addr = offset,
 		.len = mtd->erasesize,
 	};
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-20  0:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-13  8:15 [U-Boot] [PATCH v3 1/2] nand: nand torture: follow sync with linux v4.6 Max Krummenacher
2016-06-13  8:15 ` [U-Boot] [PATCH v3 2/2] nand: extend nand torture Max Krummenacher
2016-06-13 20:19   ` Benoît Thébaudeau
2016-06-20  0:25   ` [U-Boot] [U-Boot,v3,2/2] " Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox