[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200220173501.0de88326911e41b15e27b62f@linux-foundation.org>
Date: Thu, 20 Feb 2020 17:35:01 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Catalin Marinas <catalin.marinas@....com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH v2] mm: kmemleak: Use address-of operator on section
symbols
On Wed, 19 Feb 2020 22:15:51 -0700 Nathan Chancellor <natechancellor@...il.com> wrote:
> Clang warns:
>
> These are not true arrays, they are linker defined symbols, which are
> just addresses. Using the address of operator silences the warning and
> does not change the resulting assembly with either clang/ld.lld or
> gcc/ld (tested with diff + objdump -Dr).
I guess you forgot to quote the clang output?
Powered by blists - more mailing lists