From: Kamil Konieczny <kamil.konieczny@linux.intel.com>
To: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: igt-dev@lists.freedesktop.org,
Mauro Carvalho Chehab <mchehab@kernel.org>
Subject: Re: [i-g-t, v2, 1/3] lib/igt_kmod: fix check to confirm correct driver unload
Date: Fri, 20 Dec 2024 19:02:32 +0100 [thread overview]
Message-ID: <Z2WxOK7DtA4ALf9K@kamilkon-DESK1> (raw)
In-Reply-To: <20241219230517.2492196-1-daniele.ceraolospurio@intel.com>
On 2024-12-19 at 15:05:15 -0800, Daniele Ceraolo Spurio wrote:
> The driver variable is a string, so we need to pass it in as a variable
> for the driver name instead of stringifying it.
>
> Fixes: e5edf7ea7 ("lib/igt_kmod: add support for Xe driver")
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Could it be merged first as an abvious fix?
Regards,
Kamil
> ---
> lib/igt_kmod.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/igt_kmod.c b/lib/igt_kmod.c
> index ed283c14b..d73cb4101 100644
> --- a/lib/igt_kmod.c
> +++ b/lib/igt_kmod.c
> @@ -723,7 +723,7 @@ igt_intel_driver_unload(const char *driver)
> igt_kmod_unload("drm_kms_helper");
> igt_kmod_unload("drm");
>
> - if (igt_kmod_is_loaded("driver")) {
> + if (igt_kmod_is_loaded(driver)) {
> igt_warn("%s.ko still loaded!\n", driver);
> return -EBUSY;
> }
next prev parent reply other threads:[~2024-12-20 18:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 23:05 [PATCH i-g-t v2 1/3] lib/igt_kmod: fix check to confirm correct driver unload Daniele Ceraolo Spurio
2024-12-19 23:05 ` [PATCH i-g-t v2 2/3] lib/igt_kmod: Make sure errno is not already set before unbinding Daniele Ceraolo Spurio
2024-12-19 23:29 ` Lucas De Marchi
2024-12-19 23:33 ` Daniele Ceraolo Spurio
2024-12-19 23:05 ` [PATCH i-g-t v2 3/3] lib/igt_kmod: Do not explicitly unload intel mei driver Daniele Ceraolo Spurio
2024-12-19 23:21 ` [PATCH i-g-t v2 1/3] lib/igt_kmod: fix check to confirm correct driver unload Lucas De Marchi
2024-12-20 0:49 ` ✓ i915.CI.BAT: success for series starting with [i-g-t,v2,1/3] " Patchwork
2024-12-20 1:45 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-20 18:02 ` Kamil Konieczny [this message]
2024-12-20 19:13 ` [i-g-t, v2, 1/3] " Daniele Ceraolo Spurio
2024-12-20 21:46 ` ✗ i915.CI.Full: failure for series starting with [i-g-t,v2,1/3] " Patchwork
2024-12-21 1:36 ` ✗ Xe.CI.Full: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z2WxOK7DtA4ALf9K@kamilkon-DESK1 \
--to=kamil.konieczny@linux.intel.com \
--cc=daniele.ceraolospurio@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox