On Fri, Oct 05, 2018 at 06:38:29PM +0530, Sharat Masetty wrote: > From: Jordan Crouse <jcrouse@xxxxxxxxxxxxxx> > > llcc_slice_getd can return a ERR_PTR code on failure. Add a IS_ERR_OR_NULL > check to subsequent API calls that use struct llcc_slice_desc to guard > against faults and to let the leaf drivers get away with safely using a > ERR_PTR() encoded "pointer" in the aftermath of a llcc_slice_getd error. > > Signed-off-by: Jordan Crouse <jcrouse@xxxxxxxxxxxxxx> > Reviewed-by: Vivek Gautam <vivek.gautam@xxxxxxxxxxxxxx> > --- Thanks for sending this. I'll queue this up. Andy _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel