On ma, 2017-02-13 at 11:02 +0000, Chris Wilson wrote:
> On Mon, Feb 13, 2017 at 12:58:57PM +0200, Joonas Lahtinen wrote:
> > 
> > On ma, 2017-02-13 at 12:14 +0530, Sagar Arun Kamble wrote:
> > > 
> > > From: "[email protected]" <[email protected]>
> > > 
> > > With prefaulting extended to support >=2GB, i915 can handle
> > > relocation objects >=2GB. type conversion of length from int to
> > > unsigned long in access_ok was making the validation bail out with
> > > -EFAULT.
> > > 
> > > Testcase: igt/gem_exec_reloc/wc-31
> > > Cc: Daniel Vetter <[email protected]>
> > > Cc: Chris Wilson <[email protected]>
> > > Signed-off-by: Sagar Arun Kamble <[email protected]>
> > 
> > With the correct "From:" and with "size_t" as type, this is;
> > 
> > Reviewed-by: Joonas Lahtinen <[email protected]>
> 
> My earlier comments still apply in that this is not how I fixed this
> years ago, and I still much prefer my fix.

Where are the earlier comments? I must have missed them.

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to