Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1113071ybe; Thu, 19 Sep 2019 08:49:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqws43emjeBLb+5hLMA/iLxEviabUSErnGIxd/TRtajIEcyuNc26hMgLSfHmi2pk+5F1kkU1 X-Received: by 2002:a17:906:4d58:: with SMTP id b24mr13844900ejv.263.1568908175629; Thu, 19 Sep 2019 08:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568908175; cv=none; d=google.com; s=arc-20160816; b=r6D3SYQSC9v8VzOxifTkZS09mBYV7lDLgcBeAvON37pRKSMA47TUeO7h8vhmOgkA9P SGoVGLLz3G/Bzfqh3WAaetl1S1ONRpANGi+gbCvwjNSUtdJBT5MMwoXg2UN26iHyXHeH 9MaIOmCOUQmGnLrBzhiHWYmifwBhbR4yZpco5llpXkqkXXq4zlk70sTdkjXdx9ZbKmp6 zdnTFF7CU+qgMTuUJw2+fKZV39WvYD6xDibx1D1mLLU1StRrpTMkjehhp6PjGAKLioq7 5zVlocVJiqpBkN4SzdbxPAuqc7Q+F+MN3CsxLNPxhVEReS+47jLuArKDBUWhk3coaFC1 CRhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=xeA+ccCll4CrCDKyKs2KjkM7fZ98PTuEfq4TkVgy57A=; b=Rs8ybzYfIo7Ro1CkiLetaXfCo+meRGPs8FQV1/5+eBqOHhB3/wZRnAT0NAABusKNjn 1no1pYvuJnOPe+oJjo/XquNeRvTZNG8lR5AW14K/HEFQNuGNY0NT8RR2WgV8v0ngmy+c BtNd2TGr0Fls6mcvIQnqJMxh5FjygXBAtOAXbAZMZBY4NwiBeRINSJmEdjgvz4KKmnrV XJ3kFJqDLKBh3GkEc8nIWbBBlfp/omM64crqOTYx7zxD2WFrZ5wF19ifEMKJB2Pp7ykg G+0zDJUQNLNqAK4ppG8owW+m+0B+SFflV2l1CuIyCYgSI06b2ClEacfQK4Ckp1OhMHLG +MYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r26si6041511edx.61.2019.09.19.08.49.12; Thu, 19 Sep 2019 08:49:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390129AbfISMHY (ORCPT + 99 others); Thu, 19 Sep 2019 08:07:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:59678 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388712AbfISMHY (ORCPT ); Thu, 19 Sep 2019 08:07:24 -0400 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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