From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AD3931A81C for ; Wed, 1 Jul 2026 23:12:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782947536; cv=none; b=cC1EFqRBUrWJrzznP6cNulIoTcLhZaJAZnFPGLo5gKhE80ZB4Nf8k9y8HC+jNj2C7fVzHU2rWq3Jftpx6QdVWsHALurGAL4U4vGfQB594u0oZKvw2NNbpxIdEmuL5xhzp6+q330ZKKLAAQkQoGivtPkAcNQgMEZDchI+B/Xo+Sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782947536; c=relaxed/simple; bh=SsT3U4SEdjl0Z1K+I5bgW9t+7q3+Qy+s8FR+8VVx34Q=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=Y25i1tRYUXNwBy/tOAHCILJ71zUW0Bqym3jiAdYucVNUaECR4RE5PggDOvHaron8oK1ttgPtQm/MZaBrHXw99RqFEDB+7CEhVq1f9/q4eci6RzEyz9nE5AJ+TJZWDhqHVvRljmnMd7R+Yk6I5+FiwUjs9Peuv6xAn9zmZISVjVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=ujOM0R3m; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="ujOM0R3m" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA3011F000E9; Wed, 1 Jul 2026 23:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1782947535; bh=zPRo7VnNTPA9Z8a/Y0PH2tMDGeydEl8Hz/i181T8nxI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=ujOM0R3mrNTz+tiTbz5LtTypwrm3bvSDNDATXiiL19PLh4XeS0yVRnny0BqDoap7X snYV8RchvJgY6u9Pt0yiiQre5Y4Geg8w2Kddwqmvszo82vnAeyvvqfd7hyM0IMPcD2 O/KoAaRzJUtySx+3u7ads1KAPbkmDQfkt2NA5PNQ= Date: Wed, 1 Jul 2026 16:12:14 -0700 From: Andrew Morton To: Geert Uytterhoeven Cc: Thomas =?ISO-8859-1?Q?Wei=DFschuh?= , "David Hildenbrand (Red Hat)" , Ankur Arora , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Andreas Schwab Subject: Re: [PATCH v2] m68k: Avoid -Wunused-but-set-parameter in clear_user_page() Message-Id: <20260701161214.5f381f2882af5fffd909a0b1@linux-foundation.org> In-Reply-To: References: <20260525-m68k-clear_user_page-v2-1-0c8981c6eca1@weissschuh.net> <20260525125441.6a3a74300d73f1e0d32db4f8@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 1 Jul 2026 11:48:35 +0200 Geert Uytterhoeven wrote: > > > --- a/arch/m68k/include/asm/page_mm.h > > > +++ b/arch/m68k/include/asm/page_mm.h > > > @@ -55,10 +55,12 @@ static inline void clear_page(void *page) > > > #define clear_user_page(addr, vaddr, page) \ > > > do { clear_page(addr); \ > > > flush_dcache_page(page); \ > > > + (void)(vaddr); \ > > > } while (0) > > > #define copy_user_page(to, from, vaddr, page) \ > > > do { copy_page(to, from); \ > > > flush_dcache_page(page); \ > > > + (void)(vaddr); \ > > > } while (0) > > > > > > extern unsigned long m68k_memoffset; > > People are starting to report this, now gcc-16 is getting more > widespread use. > > Andrew: can you please take this, or shall I queue it for m68k fixes > (I don't have any other fixes at the moment)? > > Acked-by: Geert Uytterhoeven Sorry, this fell through a crack. I've queued it for 7.2-rcX, cc:stable.