[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877e22qczw.fsf@intel.com>
Date: Wed, 08 Jan 2020 15:44:19 +0200
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: Chen Zhou <chenzhou10@...wei.com>, airlied@...ux.ie,
chris@...is-wilson.co.uk
Cc: intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, chenzhou10@...wei.com
Subject: Re: [PATCH next] drm/i915/gtt: add missing include file asm/smp.h
On Wed, 08 Jan 2020, Chen Zhou <chenzhou10@...wei.com> wrote:
> Fix build error:
> lib/crypto/chacha.c: In function chacha_permute:
> lib/crypto/chacha.c:65:1: warning: the frame size of 3384 bytes is larger than 2048 bytes [-Wframe-larger-than=]
> }
> ^
IMO this needs a better explanation of why not having the include leads
to the above failure.
BR,
Jani.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Chen Zhou <chenzhou10@...wei.com>
> ---
> drivers/gpu/drm/i915/gt/intel_ggtt.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c b/drivers/gpu/drm/i915/gt/intel_ggtt.c
> index 1a2b5dc..9ef8ed8 100644
> --- a/drivers/gpu/drm/i915/gt/intel_ggtt.c
> +++ b/drivers/gpu/drm/i915/gt/intel_ggtt.c
> @@ -6,6 +6,7 @@
> #include <linux/stop_machine.h>
>
> #include <asm/set_memory.h>
> +#include <asm/smp.h>
>
> #include "intel_gt.h"
> #include "i915_drv.h"
--
Jani Nikula, Intel Open Source Graphics Center
Powered by blists - more mailing lists