Skip to content

Commit

Permalink
Merge pull request #21 from 01org/fix
Browse files Browse the repository at this point in the history
Removing BUG_ON macro call on isgx_eremove() failure
  • Loading branch information
sergeay committed Mar 23, 2017
2 parents e3e42d4 + 54a02e2 commit cec111a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion isgx_page_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ void isgx_free_epc_page(struct isgx_epc_page *entry,
}

if (flags & ISGX_FREE_EREMOVE)
BUG_ON(isgx_eremove(entry));
isgx_eremove(entry);

spin_lock(&isgx_free_list_lock);
list_add(&entry->free_list, &isgx_free_list);
Expand Down
2 changes: 1 addition & 1 deletion isgx_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int isgx_eremove(struct isgx_epc_page *epc_page)
isgx_put_epc_page(epc);

if (ret)
pr_debug_ratelimited("EREMOVE returned %d\n", ret);
pr_err("EREMOVE returned %d\n", ret);

return ret;
}
Expand Down

0 comments on commit cec111a

Please sign in to comment.