Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1117961iob; Thu, 12 May 2022 11:29:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5nYy0cZfTsv/7/FUTGueZz0lyjrCWYqlD4uEVCCzkVNHkmXxzUzI52HYqm02fkw3CaYuG X-Received: by 2002:a17:907:16a2:b0:6f4:eeb1:f7de with SMTP id hc34-20020a17090716a200b006f4eeb1f7demr1120269ejc.446.1652380185382; Thu, 12 May 2022 11:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652380185; cv=none; d=google.com; s=arc-20160816; b=yAvOWAWo63EmwcwrjW1+eX9yMa7fqsvMAXPHOxeJ/TjM21KcMmEMtbwXZDk4fieZDt QQpnMVmbwibKl5h7JAc9VJH8MpvOLaWIfV1J0/ZVNfC4w1V65meAJPAVfl75up2qOTU9 3YK8xRaO833a4yefCD3+uvy6OG5JSDBhXhyWCokestcsGy3DJXpiNsTQ8lOG7MxUQ1tj LNO31BtYzK4VuOup7hoGooE35YygxHMq9ghsekf67E99qulLSQEZxxCGGiNGx30a5caY FyIncm1ERPdb/D4SAsJzLrKLt8zv4CbHzkaDU35DACEEnRSSjFtNkLBdZ87/yvKuJ7/m 2H7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BI1saOr2o22TYZFAvLdljrzElw0LGv3iZn79hoIGbjg=; b=EQ43d7YkEuMZvpc4ts7grvGmR86ATHiUB3POeuJ4oPR3Occ7+0EXb1K8n3DqADvflR Zhu0asihP2S1aIdYq66Vch8GeiMTx9Hhu5+TS8ajbKxCaHEqko8XeRdUwhJ1lSTxdFRx S9nhAZra+BF7h1Cj+LG4UhI9zW+yXm1M0JumfwbUZs14vOJbV8T5UPBD579zylKpGjzu 9IIgkO/dW1h/wV/+8WkpLnBMtnDAJ8pzZTGTQ1lAaR7vKTpratY29yZ6AzBYt1qXY6zl 8Mpc/cDqCtuCZ81MzdZaVivWACrZxxEXntezQtEX4+j33Oz6aoBNRWhqVNJXQtcpHup5 /A4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ah5Z5rQN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho13-20020a1709070e8d00b006e7cd47a2d3si56003ejc.189.2022.05.12.11.29.19; Thu, 12 May 2022 11:29:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ah5Z5rQN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346376AbiEKShs (ORCPT + 99 others); Wed, 11 May 2022 14:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240757AbiEKShn (ORCPT ); Wed, 11 May 2022 14:37:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 109A64B1F2; Wed, 11 May 2022 11:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=BI1saOr2o22TYZFAvLdljrzElw0LGv3iZn79hoIGbjg=; b=ah5Z5rQNhZ9sru+uOjYIakHJc+ cLY2PYPEMQX5zK5sh1iuPa/YWz7lt/vvJRj7gdUK+pntmccrtePyZB0sbCu75482aO8mhch+n/or/ CZ2I2UPDYdIMyTaGWQAiQc6fq3gejE97zLCSIEfAZbhuOgyuE2XBgg31a5YJm+8eOkKyq2FPtAY0e FQSHiOUtj7JRIhCRQGBTSDc2ipk0KwYcbRZj7mbIxmeid5ccdtnNVP2prkflVuhOHGuoas+pUHSXX qi6bmqD7nqmDVvLD2+2ohDoPmmnHFP1TRa3lW3bKPnboDBTQ3hR3OnEL3hjuqoiaHeUakkQQBbWvl KiUrzLug==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1norDA-005gSg-4q; Wed, 11 May 2022 18:37:24 +0000 Date: Wed, 11 May 2022 19:37:24 +0100 From: Matthew Wilcox To: Naresh Kamboju , Baolin Wang Cc: Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org, Stephen Rothwell , Andrew Morton , Peter Xu , Alistair Popple , Andrea Arcangeli , Axel Rasmussen , David Hildenbrand , Hugh Dickins , Jerome Glisse , "Kirill A . Shutemov" , Mike Kravetz , Mike Rapoport , Nadav Amit , Arnd Bergmann Subject: Re: [next] sh: hugetlb.h:27:1: error: no return statement in function returning non-void [-Werror=return-type] Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 11, 2022 at 09:26:45PM +0530, Naresh Kamboju wrote: > arch/sh/include/asm/hugetlb.h: In function 'huge_ptep_clear_flush': > arch/sh/include/asm/hugetlb.h:27:1: error: no return statement in > function returning non-void [-Werror=return-type] > 27 | } > | ^ > cc1: some warnings being treated as errors It's easy enough to figure out whose patch this was. $ git log -p next-20220511 arch/sh/include/asm/hugetlb.h commit 083af99303b9 Author: Baolin Wang Date: Tue May 10 17:47:33 2022 -0700 mm: change huge_ptep_clear_flush() to return the original pte You don't have to spray everybody who's ever touched the MM with email.