Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1644574
| From | Chris Wilson <chris@chris-wilson.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drm/i915: Check C for null pointer rather than B |
| Date | 2017-05-18 16:00 +0200 |
| Message-ID | <tIu8a-3sl-19@gated-at.bofh.it> (permalink) |
| References | <tItYu-3le-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, May 18, 2017 at 02:39:42PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are two occasions where pointer B is being check for a NULL
> when it should be pointer C instead. Fix these.
>
> Detected by CoverityScan, CID#1436348,1436349 ("Logically Dead Code")
>
> Fixes: 47624cc3301b60 ("drm/i915: Import the kfence selftests for i915_sw_fence")
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Thanks, obviously correct and not exercised by BAT so pushed.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] drm/i915: Check C for null pointer rather than B Colin King <colin.king@canonical.com> - 2017-05-18 15:50 +0200 Re: [PATCH] drm/i915: Check C for null pointer rather than B Chris Wilson <chris@chris-wilson.co.uk> - 2017-05-18 16:00 +0200
csiph-web