ubi_warn
ubi_warn(ubi, "valid VID header but corrupted EC header at PEB %d",
ubi_warn(ubi, "EC and VID headers are in the same minimal I/O unit, switch to read-only mode");
ubi_warn(ubi, "skip auto-resize because of R/O mode");
ubi_warn(vol->ubi, "update of volume %d not finished, volume is damaged",
ubi_warn(ubi, "volume %d on UBI device %d is corrupted",
ubi_warn(ubi, "failed to write data to PEB %d", pnum);
ubi_warn(ubi, "error %d while reading data from PEB %d",
ubi_warn(ubi, "error %d while reading VID header back from PEB %d",
ubi_warn(ubi, "cannot reserve enough PEBs for bad PEB handling, reserved %d, need %d",
ubi_warn(ubi, "%d PEBs are corrupted and not used",
ubi_warn(ubi, "corrupted VID header at PEB %d, LEB %d:%d",
ubi_warn(ubi, "CRC error: calculated %#08x, must be %#08x",
ubi_warn(ubi, "failed to write to PEB %d", new_pnum);
ubi_warn(ubi, "failed to write VID header to LEB %d:%d, PEB %d",
ubi_warn(ubi,
ubi_warn(ubi, "failed to return physical eraseblock %d, error %d",
ubi_warn(ubi, "failed to return physical eraseblock %d, error %d",
ubi_warn(ubi, "Unable to write new fastmap, err=%i", ret);
ubi_warn(ubi, "no VID header found at PEB %d, only 0xFF bytes",
ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x",
ubi_warn(ubi, "bad CRC at PEB %d, calculated %#08x, read %#08x",
ubi_warn(ubi, "cannot read VID header from PEB %d (emulated)",
ubi_warn(ubi, "bit-all-ff (emulated)");
ubi_warn(ubi, "bit-all-ff with error reported by MTD driver (emulated)");
ubi_warn(ubi, "bad_hdr (emulated)");
ubi_warn(ubi, "bad_hdr with ECC error (emulated)");
ubi_warn(ubi, "emulating a power cut when writing VID header");
ubi_warn(ubi, "error %d%s while reading %d bytes from PEB %d:%d, read only %zd bytes, retry",
ubi_warn(ubi, "cannot read %d bytes from PEB %d:%d (emulated)",
ubi_warn(ubi, "ECC error (emulated) while reading %d bytes from PEB %d:%d, read %zd bytes",
ubi_warn(ubi, "error %d while erasing PEB %d, retry",
ubi_warn(ubi, "no EC header found at PEB %d, only 0xFF bytes",
ubi_warn(ubi, "bad magic number at PEB %d: %08x instead of %08x",
ubi_warn(ubi, "bad EC header CRC at PEB %d, calculated %#08x, read %#08x",
ubi_warn(ubi, "cannot read EC header from PEB %d (emulated)",
ubi_warn(ubi, "bit-all-ff (emulated)");
ubi_warn(ubi, "bit-all-ff with error reported by MTD driver (emulated)");
ubi_warn(ubi, "bad_hdr (emulated)");
ubi_warn(ubi, "bad_hdr with ECC error (emulated)");
ubi_warn(ubi, "emulating a power cut when writing EC header");
ubi_warn(ubi, "volume %d on UBI device %d is corrupted",
ubi_warn(ubi, "mark volume %d as corrupted", vol_id);
ubi_warn(ubi, "mark volume %d as corrupted", vol_id);
ubi_warn(ubi, "number of bad PEBs (%d) is above the expected limit (%d), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)",
ubi_warn(ubi, "switch to read-only mode");
ubi_warn(ubi, "XXXXX emulating a power cut when writing data XXXXX");
void ubi_warn(const struct ubi_device *ubi, const char *fmt, ...);
ubi_warn(ubi, "volume table copy #2 is corrupted");
ubi_warn(ubi, "volume table copy #1 is corrupted");
ubi_warn(ubi, "static volume %d misses %d LEBs - corrupted",
ubi_warn(ubi, "no PEBs in the reserved pool, used an available PEB");
ubi_warn(ubi, "last PEB from the reserve was used");