]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/tests/mtd_readtest.c
Merge branch 'linus' into irq/threaded
[karo-tx-linux.git] / drivers / mtd / tests / mtd_readtest.c
index 645e77fdc63d878a64bea35fd9acb645cbe21ae2..79fc4530987b0fe49fda701d567569e7c44b9d85 100644 (file)
@@ -71,7 +71,7 @@ static int read_eraseblock_by_page(int ebnum)
                        ops.ooblen    = mtd->oobsize;
                        ops.oobretlen = 0;
                        ops.ooboffs   = 0;
-                       ops.datbuf    = 0;
+                       ops.datbuf    = NULL;
                        ops.oobbuf    = oobbuf;
                        ret = mtd->read_oob(mtd, addr, &ops);
                        if (ret || ops.oobretlen != mtd->oobsize) {