OSDN Git Service

intel: Fix error check for I915_PARAM_HAS_LLC.
authorEric Anholt <eric@anholt.net>
Tue, 28 Feb 2012 01:26:05 +0000 (17:26 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 10 Mar 2012 01:21:00 +0000 (17:21 -0800)
commit3a8884851b72af012a8cb2beea320f094a58e5eb
tree53730ea9955d5bccd6f710bceba6159657bd2fb9
parentc9ce2edfc8d33e760667529250e86e93ff656c3d
intel: Fix error check for I915_PARAM_HAS_LLC.

drmIoctl returns -1 on error with errno set to the error value.  Other
users of it in this file just check for != 0, and only use errno when
they need to send an error value on to the caller of the API.
intel/intel_bufmgr_gem.c