commit | 3a8884851b72af012a8cb2beea320f094a58e5eb | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon Feb 27 17:26:05 2012 -0800 |
committer | Eric Anholt <eric@anholt.net> | Fri Mar 09 17:21:00 2012 -0800 |
tree | 53730ea9955d5bccd6f710bceba6159657bd2fb9 | |
parent | c9ce2edfc8d33e760667529250e86e93ff656c3d [diff] |
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.