[igt-dev] [i-g-t, 2/2] tests/amdgpu: Fix typo in amd_module_load
Petri Latvala
petri.latvala at intel.com
Tue Jun 15 08:10:37 UTC 2021
On Mon, Jun 14, 2021 at 11:35:57AM -0400, Anson Jacob wrote:
> From: Victor Lu <victorchengchi.lu at amd.com>
>
> A typo in amd_module_load was causing the test to fail.
> igt_assert_f(err, 0) should have been igt_assert_eq(err, 0),
> to check err == 0. Also added drm_fd >= 0 check and made
> ioctl query more explicit.
>
> Signed-off-by: Victor Lu <victorchengchi.lu at amd.com>
> Acked-by: Anson Jacob <Anson.Jacob at amd.com>
Squash these two patches together.
--
Petri Latvala
More information about the igt-dev
mailing list