From 8ae62dc62b340edd0f6a5a2522f284234e82c0ec Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 12 Aug 2014 20:05:49 +0100 Subject: [PATCH] drm/i915: Remove num_pages parameter to i915_error_object_create() For cleanliness, i915_error_object_create() was written to handle the NULL pointer in a central location. The macro that wrapped it and passed it a num_pages to use, was not safe. As we now never limit the num_pages to use (we did so at one point to only capture the first page of the context), we can remove the redundant macro and be NULL safe again. Signed-off-by: Chris Wilson Cc: Jesse Barnes Cc: John Harrison Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-format-patch failed