Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f381f0e1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "UBI: Fix error path in scan_pool()"

parents 5978a416 6248abb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -428,7 +428,7 @@ static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai,
		if (be32_to_cpu(ech->image_seq) != ubi->image_seq) {
			ubi_err("bad image seq: 0x%x, expected: 0x%x",
				be32_to_cpu(ech->image_seq), ubi->image_seq);
			err = UBI_BAD_FASTMAP;
			ret = UBI_BAD_FASTMAP;
			goto out;
		}