Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915: Correct typo for __i915_gem_active_get_rcu in a comment

I mistyped and added an extra _request_ to __i915_gem_active_get_rcu()
Also, the same happened to another comment for i915_gem_active_get_rcu()

Reported-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470758602-1338-1-git-send-email-chris@chris-wilson.co.uk

+2 -2
+1 -1
drivers/gpu/drm/i915/i915_gem_request.c
··· 360 360 * We use RCU to look up requests in flight. The lookups may 361 361 * race with the request being allocated from the slab freelist. 362 362 * That is the request we are writing to here, may be in the process 363 - * of being read by __i915_gem_active_get_request_rcu(). As such, 363 + * of being read by __i915_gem_active_get_rcu(). As such, 364 364 * we have to be very careful when overwriting the contents. During 365 365 * the RCU lookup, we change chase the request->engine pointer, 366 366 * read the request->fence.seqno and increment the reference count.
+1 -1
drivers/gpu/drm/i915/intel_ringbuffer.h
··· 310 310 311 311 /* An RCU guarded pointer to the last request. No reference is 312 312 * held to the request, users must carefully acquire a reference to 313 - * the request using i915_gem_active_get_request_rcu(), or hold the 313 + * the request using i915_gem_active_get_rcu(), or hold the 314 314 * struct_mutex. 315 315 */ 316 316 struct i915_gem_active last_request;