[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171221232036.GA4643@sudip-laptop>
Date: Thu, 21 Dec 2017 23:20:36 +0000
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Vineet Gupta <Vineet.Gupta1@...opsys.com>,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
arcml <linux-snps-arc@...ts.infradead.org>
Subject: Re: [PATCH v2] arch: define weak abort
On Tue, Dec 19, 2017 at 01:55:59PM -0800, Andrew Morton wrote:
> On Tue, 19 Dec 2017 13:39:22 -0800 Vineet Gupta <Vineet.Gupta1@...opsys.com> wrote:
>
<snip>
> > Hmm, I realize there's a small gotcha with this, when testing with a different
> > patch from Arnd. This needs an EXPORT_SYMBOL() as well !
>
> Yup. This?
Yes, just faced this when I was testing with the reverted patch on m32r.
>
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: kernel/exit.c: export abort() to modules
>
> gcc -fisolate-erroneous-paths-dereference can generate calls to abort()
> from modular code too.
>
> Reported-by: Vineet Gupta <Vineet.Gupta1@...opsys.com>
> Cc: Sudip Mukherjee <sudipm.mukherjee@...il.com>
> Cc: Arnd Bergmann <arnd@...db.de>
> Cc: "Alexey Brodkin" <Alexey.Brodkin@...opsys.com>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
Acked-by: Sudip Mukherjee <sudipm.mukherjee@...il.com>
--
Regards
Sudip
Powered by blists - more mailing lists