See commits: mtd: Add sanity checks in mtd_write/read_oob() mtd: Remove duplicate checks on mtd_oob_ops parameter