summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2014-10-03 09:29:35 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-10-03 09:29:35 +1000
commit81096c2bf92600d7c2a690500178c1b21efcde42 (patch)
tree5b126bfc85157a8049559835d723af521181a33a /drivers/base
parent8998fc4cd77e06bb5c47c443f74425220faf3596 (diff)
drivers-dma-coherent-add-initialization-from-device-tree-fix-fix
use more appropriate printk facility levels Cc: Arnd Bergmann <arnd@arndb.de> Cc: Grant Likely <grant.likely@linaro.org> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Cc: Josh Cartwright <joshc@codeaurora.org> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Laura Abbott <lauraa@codeaurora.org> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/dma-coherent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c
index 5d5f998f57c1..acde4c1a2bdf 100644
--- a/drivers/base/dma-coherent.c
+++ b/drivers/base/dma-coherent.c
@@ -283,7 +283,7 @@ static int rmem_dma_device_init(struct reserved_mem *rmem, struct device *dev)
dma_init_coherent_memory(rmem->base, rmem->base, rmem->size,
DMA_MEMORY_MAP | DMA_MEMORY_EXCLUSIVE,
&mem) != DMA_MEMORY_MAP) {
- pr_info("Reserved memory: failed to init DMA memory pool at %pa, size %ld MiB\n",
+ pr_err("Reserved memory: failed to init DMA memory pool at %pa, size %ld MiB\n",
&rmem->base, (unsigned long)rmem->size / SZ_1M);
return -ENODEV;
}
@@ -312,7 +312,7 @@ static int __init rmem_dma_setup(struct reserved_mem *rmem)
#ifdef CONFIG_ARM
if (!of_get_flat_dt_prop(node, "no-map", NULL)) {
- pr_info("Reserved memory: regions without no-map are not yet supported\n");
+ pr_err("Reserved memory: regions without no-map are not yet supported\n");
return -EINVAL;
}
#endif