Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michał Grzelak" <michal.grzelak@linux.intel.com>,
	intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v1 1/3] drm/xe/Makefile: remove unused variable
Date: Thu, 03 Dec 2026 13:51:31 +0000	[thread overview]
Message-ID: <sashiko-outbox-247893@kernel.org> (raw)
In-Reply-To: <20261203133819.1425896-2-michal.grzelak@linux.intel.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] drm/xe: removing hostprogs breaks xe_gen_wa_oob build and clean
--

commit 20689790aba8751d4b9f180036b57b8f71aa6c14
Author: Michał Grzelak <michal.grzelak@linux.intel.com>

drm/xe/Makefile: remove unused variable

This commit removes the hostprogs := xe_gen_wa_oob assignment from
drivers/gpu/drm/xe/Makefile.

> diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
> index 31955c9277b2b..61fdae5fe064a 100644
> --- a/drivers/gpu/drm/xe/Makefile
> +++ b/drivers/gpu/drm/xe/Makefile
> @@ -13,7 +13,6 @@ subdir-ccflags-y += -I$(obj) -I$(src)
>  
>  # generated sources
>  
> -hostprogs := xe_gen_wa_oob
>  generated_oob := $(obj)/generated/xe_wa_oob.c $(obj)/generated/xe_wa_oob.h
>  quiet_cmd_wa_oob = GEN     $(notdir $(generated_oob))
>        cmd_wa_oob = mkdir -p $(@D); $(obj)/xe_gen_wa_oob $(src)/xe_wa_oob.rules $(generated_oob)

[Severity: High]
Does removing hostprogs break building $(obj)/xe_gen_wa_oob?

hostprogs is used by scripts/Makefile.build to include
scripts/Makefile.host, which defines the rule to compile xe_gen_wa_oob
from xe_gen_wa_oob.c.  Without it, clean builds of the xe driver fail
because the generated_oob rules require $(obj)/xe_gen_wa_oob.

scripts/Makefile.clean also uses hostprogs, so make clean stops removing
xe_gen_wa_oob as well.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203133819.1425896-1-michal.grzelak@linux.intel.com?part=1

  reply	other threads:[~2026-12-03 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 13:38 [PATCH v1 0/3] drm/xe: build related cleanups Michał Grzelak
2026-12-03 13:38 ` [PATCH v1 1/3] drm/xe/Makefile: remove unused variable Michał Grzelak
2026-12-03 13:51   ` sashiko-bot [this message]
2026-12-03 13:38 ` [PATCH v1 2/3] drm/xe/Makefile: align build log output Michał Grzelak
2026-12-03 13:38 ` [PATCH v1 3/3] drm/xe/wa: s/<whitespace>/<tab>/ Michał Grzelak
2026-12-03 15:13 ` ✗ CI.KUnit: failure for drm/xe: build related cleanups 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=sashiko-outbox-247893@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=michal.grzelak@linux.intel.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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