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] [day] [month] [year] [list]
Message-ID: <18e48f75-782d-0aba-4ac4-85347db74f68@huawei.com>
Date:   Thu, 25 Jul 2019 17:30:52 +0800
From:   Yuehaibing <yuehaibing@...wei.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
CC:     <akpm@...ux-foundation.org>, <mhocko@...e.com>, <vbabka@...e.cz>,
        <yang.shi@...ux.alibaba.com>, <jannh@...gle.com>,
        <walken@...gle.com>, <linux-kernel@...r.kernel.org>,
        <linux-mm@...ck.org>
Subject: Re: [PATCH] mm/mmap.c: silence variable 'new_start' set but not used

On 2019/7/24 22:34, Kirill A. Shutemov wrote:
> On Wed, Jul 24, 2019 at 02:07:39PM +0000, YueHaibing wrote:
>> 'new_start' is used in is_hugepage_only_range(),
>> which do nothing in some arch. gcc will warning:
> 
> Make is_hugepage_only_range() reference the variable on such archs:
> 
> #define is_hugepage_only_range(mm, addr, len)   ((void) addr, 0)

Thank you for suggestion, I will try this.

> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ