[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230516092533.68c99314@canb.auug.org.au>
Date: Tue, 16 May 2023 09:25:33 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Lorenzo Stoakes <lstoakes@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build warning after merge of the mm tree
Hi all,
After merging the mm tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
mm/memory.c: In function '__access_remote_vm':
mm/memory.c:5608:29: warning: unused variable 'ret' [-Wunused-variable]
5608 | int ret = 0;
| ^~~
Introduced by commit
eca1a00155df ("mm/gup: remove vmas parameter from get_user_pages_remote()")
"ret" is only used if CONFIG_HAVE_IOREMAP_PROT is set.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists