summaryrefslogtreecommitdiff
path: root/drivers/staging/nmf-cm/cm_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/nmf-cm/cm_debug.c')
-rw-r--r--drivers/staging/nmf-cm/cm_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/nmf-cm/cm_debug.c b/drivers/staging/nmf-cm/cm_debug.c
index cb753ea2593..a934aa33e92 100644
--- a/drivers/staging/nmf-cm/cm_debug.c
+++ b/drivers/staging/nmf-cm/cm_debug.c
@@ -195,7 +195,7 @@ static ssize_t domain_read(struct file *file, char __user *userbuf,
int ret=0;
OSAL_LOCK_API();
- if ((domain->domain.coreId != -1)
+ if ((domain->domain.coreId != MASK_ALL8)
&& (domain->dbgCooky != NULL)) {
t_cm_allocator_status status;
t_uint32 dOffset;