public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6
@ 2016-06-07 11:46 Max Krummenacher
  2016-06-07 11:46 ` [U-Boot] [PATCH v2 2/2] nand: extend nand torture Max Krummenacher
  2016-06-08 23:47 ` [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6 Scott Wood
  0 siblings, 2 replies; 10+ messages in thread
From: Max Krummenacher @ 2016-06-07 11:46 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 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] 10+ messages in thread

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 11:46 [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6 Max Krummenacher
2016-06-07 11:46 ` [U-Boot] [PATCH v2 2/2] nand: extend nand torture Max Krummenacher
2016-06-08 23:41   ` Benoît Thébaudeau
2016-06-09 13:19     ` Max Krummenacher
2016-06-09 22:20       ` Benoît Thébaudeau
2016-06-08 23:47 ` [U-Boot] [PATCH v2 1/2] nand: nand torture: follow sync with linux v4.6 Scott Wood
2016-06-09  8:35   ` Max Krummenacher
2016-06-09 17:10     ` Scott Wood
2016-06-09 21:13       ` Max Krummenacher
2016-06-09 21:16         ` Scott Wood

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