Skip to content

Commit

Permalink
Make CMA kernel messages quieter when not fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Dec 27, 2012
1 parent f7aef7a commit aa270a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/char/broadcom/vc_cma/vc_cma.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static bool send_worker_msg(VCHIQ_HEADER_T * msg);
static int __init early_vc_cma_mem(char *p)
{
unsigned int new_size;
printk(KERN_ERR "early_vc_cma_mem(%s)", p);
printk(KERN_NOTICE "early_vc_cma_mem(%s)", p);
vc_cma_size = memparse(p, &p);
vc_cma_initial = vc_cma_size;
if (*p == '/')
Expand All @@ -175,7 +175,7 @@ static int __init early_vc_cma_mem(char *p)
vc_cma_base = (vc_cma_base + VC_CMA_CHUNK_SIZE - 1)
& ~(VC_CMA_CHUNK_SIZE - 1);

printk(KERN_ERR " -> initial %x, size %x, base %x", vc_cma_initial,
printk(KERN_NOTICE " -> initial %x, size %x, base %x", vc_cma_initial,
vc_cma_size, (unsigned int)vc_cma_base);

return 0;
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@ vchiq_get_state(void)
if (g_state.remote == NULL)
printk(KERN_ERR "%s: g_state.remote == NULL\n", __func__);
else if (g_state.remote->initialised != 1)
printk(KERN_ERR "%s: g_state.remote->initialised != 1 (%d)\n",
printk(KERN_NOTICE "%s: g_state.remote->initialised != 1 (%d)\n",
__func__, g_state.remote->initialised);

return ((g_state.remote != NULL) &&
Expand Down

0 comments on commit aa270a5

Please sign in to comment.