lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170214141551.93d31680b42e255b7c604e51@linux-foundation.org>
Date:   Tue, 14 Feb 2017 14:15:51 -0800
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] m32r: mm: fix build warning

On Tue, 14 Feb 2017 22:05:45 +0000 Sudip Mukherjee <sudipm.mukherjee@...il.com> wrote:

> The build of m32r was giving warning:
> mm/pgtable-generic.c: In function 'ptep_clear_flush':
> mm/pgtable-generic.c:76:20: warning:
> 	unused variable 'mm' [-Wunused-variable]
> 
> The implementation of ptep_get_and_clear() and pte_accessible()
> does not use 'mm'.

That's because ptep_get_and_clear() and pte_accessible() are
implemented as macros.  If they were (static inline) C functions then
this warning wouldn't occur.  All the other architectures get this
right.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ