]> git.baikalelectronics.ru Git - kernel.git/commit
of: reserved-memory: Print allocation/reservation failures as error
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 28 Jun 2022 11:35:40 +0000 (13:35 +0200)
committerRob Herring <robh@kernel.org>
Tue, 28 Jun 2022 20:15:36 +0000 (14:15 -0600)
commitb6ed86b530ba11bc5abf6a2b2d72236c6c4155f9
treeca20d2219823bd6bf67500cb1ea972aeb3d19714
parentdf5c23c6e3ed712de4e3e1d3412cc19ff6cea845
of: reserved-memory: Print allocation/reservation failures as error

If the allocation/reservation of reserved-memory fails, it is normally
an error, so print it as an error so that it doesn't get hidden from the
console due to the loglevel.  Also make the allocation failure include
the size just like the reservation failure.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220628113540.2790835-1-vincent.whitchurch@axis.com
drivers/of/fdt.c
drivers/of/of_reserved_mem.c