This commit is contained in:
Florian Pose 2010-05-06 11:39:08 +02:00
parent 62b722ab33
commit e1571b2795
1 changed files with 2 additions and 1 deletions

View File

@ -3501,7 +3501,8 @@ int eccdev_open(struct inode *inode, struct file *filp)
priv = kmalloc(sizeof(ec_cdev_priv_t), GFP_KERNEL);
if (!priv) {
EC_ERR("Failed to allocate memory for private data structure.\n");
EC_MASTER_ERR(cdev->master,
"Failed to allocate memory for private data structure.\n");
return -ENOMEM;
}