From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 8 Oct 2015 18:49:50 +0100 Subject: [PATCH] arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419 In-Reply-To: <20151008174750.GR17192@e104818-lin.cambridge.arm.com> References: <1444325555-32108-1-git-send-email-will.deacon@arm.com> <20151008174750.GR17192@e104818-lin.cambridge.arm.com> Message-ID: <20151008174950.GR16807@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Oct 08, 2015 at 06:47:50PM +0100, Catalin Marinas wrote: > On Thu, Oct 08, 2015 at 06:32:35PM +0100, Will Deacon wrote: > > Commit df057cc7b4fa ("arm64: errata: add module build workaround for > > erratum #843419") sets CFLAGS_MODULE to ensure that the large memory > > model is used by the compiler when building kernel modules. > > > > However, CFLAGS_MODULE is an environment variable and intended to be > > overridden on the command line, which appears to be the case with the > > Ubuntu kernel packaging system, so use KBUILD_CFLAGS_MODULE instead. > > > > Cc: Ard Biesheuvel > > Reported-by: Dann Frazier > > Signed-off-by: Will Deacon > > Just you case you forgot, I think you also need: > > Fixes: df057cc7b4fa ("arm64: errata: add module build workaround for erratum #843419") > Cc: Yup, got those suckers locally :) Will