ALSA: ctxfi - Add prefix to debug prints
Added ctxfi: prefix to each debug print. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -162,12 +162,14 @@ int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw)
|
||||
case DAIO:
|
||||
break;
|
||||
default:
|
||||
printk(KERN_ERR "Invalid resource type value %d!\n", type);
|
||||
printk(KERN_ERR
|
||||
"ctxfi: Invalid resource type value %d!\n", type);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (err) {
|
||||
printk(KERN_ERR "Failed to get resource control block!\n");
|
||||
printk(KERN_ERR
|
||||
"ctxfi: Failed to get resource control block!\n");
|
||||
return err;
|
||||
}
|
||||
|
||||
@@ -190,8 +192,8 @@ int rsc_uninit(struct rsc *rsc)
|
||||
case DAIO:
|
||||
break;
|
||||
default:
|
||||
printk(KERN_ERR "Invalid resource type value %d!\n",
|
||||
rsc->type);
|
||||
printk(KERN_ERR "ctxfi: "
|
||||
"Invalid resource type value %d!\n", rsc->type);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -233,13 +235,15 @@ int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type,
|
||||
case SUM:
|
||||
break;
|
||||
default:
|
||||
printk(KERN_ERR "Invalid resource type value %d!\n", type);
|
||||
printk(KERN_ERR
|
||||
"ctxfi: Invalid resource type value %d!\n", type);
|
||||
err = -EINVAL;
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (err) {
|
||||
printk(KERN_ERR "Failed to get manager control block!\n");
|
||||
printk(KERN_ERR
|
||||
"ctxfi: Failed to get manager control block!\n");
|
||||
goto error;
|
||||
}
|
||||
|
||||
@@ -282,8 +286,8 @@ int rsc_mgr_uninit(struct rsc_mgr *mgr)
|
||||
case SUM:
|
||||
break;
|
||||
default:
|
||||
printk(KERN_ERR "Invalid resource type value %d!\n",
|
||||
mgr->type);
|
||||
printk(KERN_ERR "ctxfi: "
|
||||
"Invalid resource type value %d!\n", mgr->type);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user