ubi: block: Reduce warning print to info for static volumes
authorMårten Lindahl <marten.lindahl@axis.com>
Thu, 13 Oct 2022 12:02:49 +0000 (14:02 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 2 Feb 2023 20:13:35 +0000 (21:13 +0100)
commit6addbe91fcccd446036d5acc8e54a9b4395ac4bb
tree7caa83c83714a4cfcffd4130de0a2dbf004831bd
parent203a55f04f66eea1a1ca7e5a302a7f5c99c62327
ubi: block: Reduce warning print to info for static volumes

If volume size is not multiple of the sector size 512 a warning is
printed saying that the last non-sector aligned bytes will be ignored.

This should be valid for resizable volumes, but when creating static
volumes which are read only this will always be printed even if the
unaligned data is deliberate.

The message is still valid but the severity should be lowered for static
volumes.

Signed-off-by: Mårten Lindahl <marten.lindahl@axis.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/block.c