On Wed, Apr 24, 2013 at 10:44:08AM +0800, Wei Yongjun wrote: > From: Wei Yongjun <[email protected]> > > Fix to return -EINVAL in the host1x_bo lookup error handling > case instead of 0, as done elsewhere in this function.
So with my comment to v1 addressed this becomes invalid again. I think in both cases using -ENOENT is a better choice. Pretty much any instance where drm_gem_object_lookup() fails is handled by returning -ENOENT, so we should do the same in this driver for consistency. Thierry
pgp35WaN6KdRQ.pgp
Description: PGP signature

