Commit 03f6359fac16f7dd7f05410ed01e003ac6c6ebb5

Authored by Jacob Stiffler
Committed by Hongmei Gou
1 parent 0f37ee50e2

HACK: remoteproc: Prevent backtrace for RSC_INTMEM deprecation warning

* The backtrace during boot makes it appear that there is a serious
  problem even though it is a warning about a feature being deprecated
  in the near future.
* Change the WARN() to a dev_warn()

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/remoteproc/remoteproc_core.c
... ... @@ -870,7 +870,7 @@
870 870 void *va;
871 871 int ret;
872 872  
873   - WARN(1, "RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.\n");
  873 + dev_warn(dev, "RSC_INTMEM is deprecated. Please do not use this resource type to support loading into internal memories.\n");
874 874  
875 875 if (sizeof(*rsc) > avail) {
876 876 dev_err(dev, "intmem rsc is truncated\n");