[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <153174525176.9014.9134926580840638683@skylake-alporthouse-com>
Date: Mon, 16 Jul 2018 13:47:31 +0100
From: Chris Wilson <chris@...is-wilson.co.uk>
To: "Gustavo A. R. Silva" <gustavo@...eddedor.com>,
David Airlie <airlied@...ux.ie>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>
Cc: intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: Re: [PATCH] drm/i915/selftests: Remove redundant code
Quoting Gustavo A. R. Silva (2018-07-16 13:39:33)
> err is assigned to -EIO, but this value is never actually
> used and *err* is updated later on.
>
> Remove such reduntant code.
The mistake is that err is lost, possible masking the test failure.
Looks like the unwind needs to be refactored?
-Chris
Powered by blists - more mailing lists