diff options
author | Hong Liu <hong.liu@intel.com> | 2008-05-19 17:06:40 +0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-05-22 10:35:55 -0700 |
commit | 1cde3cc1ac467eb0527ed55127cf3bb983afde80 (patch) | |
tree | 9072c0d22fe36a0a79308c6a7a7f9dfcae6f626b /linux-core/drmP.h | |
parent | e8320a716d97504d91299d20d640b847c86e4b17 (diff) |
i915: check dummy page before freeing
The dummy read page will point to NULL if drm_bo_driver_init failed at
firstopen (modeset is not enabled), and will cause kernel oops at
subsequent drm_lastclose call, so be sure to check it.
Diffstat (limited to 'linux-core/drmP.h')
0 files changed, 0 insertions, 0 deletions