From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Jani Nikula <jani.nikula@intel.com>, intel-gfx@lists.freedesktop.org
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/uc: remove accidental static from a local variable
Date: Wed, 8 Jun 2022 09:09:28 +0100 [thread overview]
Message-ID: <2cdd3327-be28-0923-6372-4e046403e3c1@linux.intel.com> (raw)
In-Reply-To: <20220511094619.27889-1-jani.nikula@intel.com>
On 11/05/2022 10:46, Jani Nikula wrote:
> The arrays are static const, but the pointer shouldn't be static.
>
> Fixes: 3d832f370d16 ("drm/i915/uc: Allow platforms to have GuC but not HuC")
> Cc: John Harrison <John.C.Harrison@Intel.com>
> Cc: Lucas De Marchi <lucas.demarchi@intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
> index 9361532726d6..d2c5c9367cc4 100644
> --- a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
> +++ b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
> @@ -156,7 +156,7 @@ __uc_fw_auto_select(struct drm_i915_private *i915, struct intel_uc_fw *uc_fw)
> [INTEL_UC_FW_TYPE_GUC] = { blobs_guc, ARRAY_SIZE(blobs_guc) },
> [INTEL_UC_FW_TYPE_HUC] = { blobs_huc, ARRAY_SIZE(blobs_huc) },
> };
> - static const struct uc_fw_platform_requirement *fw_blobs;
> + const struct uc_fw_platform_requirement *fw_blobs;
> enum intel_platform p = INTEL_INFO(i915)->platform;
> u32 fw_count;
> u8 rev = INTEL_REVID(i915);
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Domain owners were copied in this case (mailman just dropped it from the
mailing list copy?) on this one, but maybe needed extra prodding.
Regards,
Tvrtko
next prev parent reply other threads:[~2022-06-08 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-11 9:46 [Intel-gfx] [PATCH] drm/i915/uc: remove accidental static from a local variable Jani Nikula
2022-05-11 11:47 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-05-11 15:26 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-06-08 8:09 ` Tvrtko Ursulin [this message]
2022-06-08 8:52 ` [Intel-gfx] [PATCH] " Jani Nikula
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=2cdd3327-be28-0923-6372-4e046403e3c1@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=lucas.demarchi@intel.com \
/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