From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A7C7C4CEC4 for ; Thu, 19 Sep 2019 12:07:26 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3B0CE21929 for ; Thu, 19 Sep 2019 12:07:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B0CE21929 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=stgolabs.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BD8CE6B0356; Thu, 19 Sep 2019 08:07:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B88F56B0357; Thu, 19 Sep 2019 08:07:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A77DD6B0358; Thu, 19 Sep 2019 08:07:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0143.hostedemail.com [216.40.44.143]) by kanga.kvack.org (Postfix) with ESMTP id 866BC6B0356 for ; Thu, 19 Sep 2019 08:07:25 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 1A1EB1A4C2 for ; Thu, 19 Sep 2019 12:07:25 +0000 (UTC) X-FDA: 75951545250.23.cast03_7ae8a9bcaa430 X-HE-Tag: cast03_7ae8a9bcaa430 X-Filterd-Recvd-Size: 2175 Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) by imf45.hostedemail.com (Postfix) with ESMTP for ; Thu, 19 Sep 2019 12:07:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id AD906AB9B; Thu, 19 Sep 2019 12:07:22 +0000 (UTC) Date: Thu, 19 Sep 2019 05:07:03 -0700 From: Davidlohr Bueso To: Mike Kravetz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor , Andrew Morton , Nick Desaulniers , Ilie Halip , David Bolvansky Subject: Re: [PATCH] hugetlbfs: hugetlb_fault_mutex_hash cleanup Message-ID: <20190919120703.ixuv2itnui5ofhhr@linux-p48b> Mail-Followup-To: Mike Kravetz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Nathan Chancellor , Andrew Morton , Nick Desaulniers , Ilie Halip , David Bolvansky References: <20190919011847.18400-1-mike.kravetz@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190919011847.18400-1-mike.kravetz@oracle.com> User-Agent: NeoMutt/20180716 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000118, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 >Signed-off-by: Mike Kravetz Reviewed-by: Davidlohr Bueso