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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable 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 2B2C4C46477 for ; Mon, 17 Jun 2019 08:58:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02FD920644 for ; Mon, 17 Jun 2019 08:58:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727676AbfFQI6x (ORCPT ); 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