[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190919120703.ixuv2itnui5ofhhr@linux-p48b>
Date: Thu, 19 Sep 2019 05:07:03 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Mike Kravetz <mike.kravetz@...cle.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com,
Nathan Chancellor <natechancellor@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Ilie Halip <ilie.halip@...il.com>,
David Bolvansky <david.bolvansky@...il.com>
Subject: Re: [PATCH] hugetlbfs: hugetlb_fault_mutex_hash cleanup
On Wed, 18 Sep 2019, Mike Kravetz wrote:
>A new clang diagnostic (-Wsizeof-array-div) warns about the calculation
>to determine the number of u32's in an array of unsigned longs. Suppress
>warning by adding parentheses.
>
>While looking at the above issue, noticed that the 'address' parameter
>to hugetlb_fault_mutex_hash is no longer used. So, remove it from the
>definition and all callers.
>
>No functional change.
>
>Reported-by: Nathan Chancellor <natechancellor@...il.com>
>Signed-off-by: Mike Kravetz <mike.kravetz@...cle.com>
Reviewed-by: Davidlohr Bueso <dbueso@...e.de>
Powered by blists - more mailing lists