[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191120130532.74844fb2@canb.auug.org.au>
Date: Wed, 20 Nov 2019 13:05:32 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<davem@...emloft.net>, <edumazet@...gle.com>,
<linuxppc-dev@...abs.org>
Subject: Re: [PATCH v2] powerpc: Add const qual to local_read() parameter
Hi all,
On Wed, 20 Nov 2019 12:14:51 +1100 Michael Ellerman <mpe@...erman.id.au> wrote:
>
> From: Eric Dumazet <edumazet@...gle.com>
>
> A patch in net-next triggered a compile error on powerpc:
>
> include/linux/u64_stats_sync.h: In function 'u64_stats_read':
> include/asm-generic/local64.h:30:37: warning: passing argument 1 of 'local_read' discards 'const' qualifier from pointer target type
>
> This seems reasonable to relax powerpc local_read() requirements.
>
> Fixes: 316580b69d0a ("u64_stats: provide u64_stats_t type")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: kbuild test robot <lkp@...el.com>
> Acked-by: Michael Ellerman <mpe@...erman.id.au>
Tested-by: Stephen Rothwell <sfr@...b.auug.org.au> # build only
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists