Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2281928ybi; Mon, 17 Jun 2019 02:01:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdN57LRWMJdCaA3wPQTWc15NJJS76CJezfFUbLLDn+qvFMETu+o+T0kjHmbAfD4xYBvpRj X-Received: by 2002:a63:f146:: with SMTP id o6mr47238933pgk.179.1560762094414; Mon, 17 Jun 2019 02:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560762094; cv=none; d=google.com; s=arc-20160816; b=VsF2/DXbTYB59v3Tcg90EvP+X4qD5MQehj2iHXsWnJTTgEOH5+V2ST86vaFkKco0P0 7fYzPMmgudVZDvJTkFv9CXv8emoHDsBQHaghecA/+sJm9Any8w2p7+xDiasxPoFNSEQK eAG+QwBsXCpQcNy02OuVZyIBGvYmxIIgza75yVaNwH4axFe0BteWUfbYWA+dGVuTcCX3 zwuqQ9jN/WwjbZG3LDjpd4eROdeBF04SwlRh81HtL8xoY4PYpdpax/zNnb2mjeoPmcYf qqMrqCzY8koSjHJJTng6uU2QQ9lFpyXUfPc9pzRdjK4VJLNrX+3coc/cGoYfvYOxh8ZP SqyA== 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:message-id:subject:cc :to:from:date; bh=8dfSyIElI/AJ+y9A4rJ8yO4MvthuW9VxJfrWGJLbOWU=; b=BqjezpCGUDZeAjYMeL5VTnN7yVAauBD518iT1O5Q1SAEuHv7Z2q+rlj9+t2O89MtiY ORxGBWCUFtRaiMn7L/xEPK0ydg9kYD/RmjrmVJ5nbkfzOCbkmmjs6f+eJgnU5eBk2XRl F0IzXL21xkdpIiPbiDpkvmCQAimODwTyMNObZA8gorKUsmbGCpKU6JA+NoD7xoUg8t8W 8frjiIzj7NNlF94Y6kHlGyPMnKrBhk5jYQAUSpw36hQTMg7HpZYQcDJ+Ef4hETK9YI7z lMvHeu1bDNFohf4UQ4C14qq5f1rRlDnJVyGl/b2EHVrjR+ypbA3p5xsOrP5v4tOzKI4K 5jLg== 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 s11si9939446pgp.326.2019.06.17.02.01.17; Mon, 17 Jun 2019 02:01:34 -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 S1727394AbfFQI6x (ORCPT + 99 others); Mon, 17 Jun 2019 04:58:53 -0400 Received: from foss.arm.com ([217.140.110.172]:42176 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbfFQI6x (ORCPT ); Mon, 17 Jun 2019 04:58:53 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E397028; Mon, 17 Jun 2019 01:58:52 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 652F03F246; Mon, 17 Jun 2019 01:58:52 -0700 (PDT) Date: Mon, 17 Jun 2019 09:58:50 +0100 From: Andrew Murray To: Stephen Rothwell Cc: Daniel Lezcano , Linux Next Mailing List , Linux Kernel Mailing List , Mark Rutland , Will Deacon , Marc Zyngier Subject: Re: linux-next: build warnings after merge of the clockevents tree Message-ID: <20190617085850.GH20984@e119886-lin.cambridge.arm.com> References: <20190617145245.0e03163d@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190617145245.0e03163d@canb.auug.org.au> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 02:52:45PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the clockevents tree, today's linux-next build (arm > multi_v7_defconfig) produced these warnings: > > In file included from arch/arm/kernel/vdso.c:30: > arch/arm/include/asm/arch_timer.h: In function 'arch_timer_set_evtstrm_feature': > arch/arm/include/asm/arch_timer.h:131:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ > In file included from drivers/clocksource/arm_arch_timer.c:31: > arch/arm/include/asm/arch_timer.h: In function 'arch_timer_set_evtstrm_feature': > arch/arm/include/asm/arch_timer.h:131:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ > > Introduced by commit > > 11e34eca5d0a ("clocksource/arm_arch_timer: Extract elf_hwcap use to arch-helper") This was also picked up by the kbuild robot, I'll sent a patch shortly - apologies. Thanks, Andrew Murray > > Look like a missed "return". > > -- > Cheers, > Stephen Rothwell