diff options
author | Chris Wilson <[email protected]> | 2016-11-17 15:58:46 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-11-17 20:30:23 +0000 |
commit | 6288c79ea519f6ca3a54d87974b48ca6a8b986af (patch) | |
tree | 4d90b793f4ee66d0083520b973065e98a9783c6f /lib/memory-notifier-error-inject.c | |
parent | a194b8cb849586306b3f097cfc87c6ccdd7e4ecd (diff) |
drm/i915: Add a few more sanity checks for stolen handling
We should never be called via obj->ops->release() on anything other than
a fully formed stolen object, so raise that to an assert. In the process
tidy up a comment and variable no longer used outside of a conditional
BUG.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Matthew Auld <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions