[Intel-gfx] [PATCH v4] drm/i915/gtt: Avoid calling kcalloc in a loop when allocating temp bitmaps

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 2 09:05:37 PDT 2015


On Wed, Sep 02, 2015 at 05:46:38PM +0200, MichaƂ Winiarski wrote:
> +	pts = kcalloc(pdpes * BITS_TO_LONGS(I915_PDES),
> +			sizeof(unsigned long), GFP_TEMPORARY);
> +	if (!pts)
> +		goto err_out;

This is the oddly aligned bracket!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list