]> xenbits.xensource.com Git - xen.git/commit
xen/arm: use printk_once for errata warning prints
authorBertrand Marquis <bertrand.marquis@arm.com>
Mon, 26 Oct 2020 16:21:31 +0000 (16:21 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 29 Oct 2020 21:02:59 +0000 (14:02 -0700)
commitf9179d21e864c1f3ae1834f727a8c9f9137ccbbf
tree1eec2ee939afc18f34c8f4f81c3faff8d63088c7
parent26a8fa494f2f323622b6928bd15921b41818f180
xen/arm: use printk_once for errata warning prints

Replace usage of warning_add by printk_once with a **** prefix and
suffix for errata related warnings.

This prevents the need for the assert which is not secure enough to
protect this print against wrong usage.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/cpuerrata.c