Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2428968ybi; Mon, 17 Jun 2019 04:48:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9xvhoCMcxvwH6p/KPzgTWHH5qbmznttWJuzuT4MOHmNphdRmhSqW7ezgv49nyu/Xbr3ui X-Received: by 2002:a17:902:2ac1:: with SMTP id j59mr34603472plb.156.1560772089168; Mon, 17 Jun 2019 04:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560772089; cv=none; d=google.com; s=arc-20160816; b=JI3ZsCy0ryGeSMmPzUCcUIXaXIvqKjUJOHseR8j7Sq1kd32YSYGiKz+pGaHZDERTTi BnYmg/X0OGyqcv01OGU319UACmSJspZaq2KbRyTOnnCNwoD3xAn+dFzHDAyew0/TDb1e lkO+5nv6vG0SlsabKhW4/d43k38Z5mJDf7U3yQCRi3gQg8xu72RhCO50y6jWouIDeqN3 IpREbK9hH3Q/UhPGbi29IMNvvt8xNGvImmz9hrR6rmpWs6d/RUzYopI78yhwKiWXJwme EbNMgGZGh7sGIGFmOmQVGJ1IXqA0E//K/xKrzvP8mmDvkLEZCoTJSDWWZglDjB4eLZm0 qH2w== 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=z5TNqP492y8asTCl6VRBloggJ+h/l7hhNuprSeJ5INc=; b=nthjLIMu7B10rimDpIGFv1iI1PdNbYzGq/oNbsUhYhPdFRePt7fldfGYmBi3IHRXBE dZI7vd+rNK9bp+qeX523fnPBuanZw1y5fAoFWQYnZd3H+/EB1AXZgW3dClQOKULVqyHy /hCVpE0fNKwEIUv5Qml0sARiAi4V9cgKimkNUwVYGY7mgGY7aQzbgFd+kx0K8x6hthcG 4RrQshKshQWxCHuDDrIeYyzUDx3eY9Z8MEJtOpTZKdj+Hb3SY2IJu3RpL59Vl5NfJ/Qg 6Vn6kFV6A3+5orX6907ZyYLAL+t8Yn9AfZQzBRcgSLhONWA1jwqYd2PIHpeIlcmDceR0 AXpQ== 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 i33si10179787pld.312.2019.06.17.04.47.53; Mon, 17 Jun 2019 04:48:09 -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 S1726355AbfFQLrh (ORCPT + 99 others); Mon, 17 Jun 2019 07:47:37 -0400 Received: from foss.arm.com ([217.140.110.172]:46772 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725971AbfFQLrh (ORCPT ); Mon, 17 Jun 2019 07:47:37 -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 B5F51344; Mon, 17 Jun 2019 04:47:36 -0700 (PDT) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 831763F246; Mon, 17 Jun 2019 04:49:21 -0700 (PDT) Date: Mon, 17 Jun 2019 12:47:34 +0100 From: Andrew Murray To: Marc Zyngier Cc: Mark Rutland , Catalin Marinas , Will Deacon , Daniel Lezcano , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Rothwell , Linux Next Mailing List , kbuild test robot Subject: Re: [PATCH] clocksource/arm_arch_timer: remove unused return type Message-ID: <20190617114734.GK20984@e119886-lin.cambridge.arm.com> References: <20190617093601.34511-1-andrew.murray@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 10:45:24AM +0100, Marc Zyngier wrote: > On 17/06/2019 10:36, Andrew Murray wrote: > > The function 'arch_timer_set_evtstrm_feature' has no return statement > > despite its prototype - let's change the function prototype to return > > void. This matches the equivalent arm64 implementation. > > > > fixes: 11e34eca5d0a ("clocksource/arm_arch_timer: Extract elf_hwcap use to arch-helper") > > nit: tags start with a capital letter. Thanks - I'll remember next time. Andrew Murray > > > Reported-by: kbuild test robot > > Signed-off-by: Andrew Murray > > --- > > arch/arm/include/asm/arch_timer.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/include/asm/arch_timer.h b/arch/arm/include/asm/arch_timer.h > > index ae533caec1e9..99175812d903 100644 > > --- a/arch/arm/include/asm/arch_timer.h > > +++ b/arch/arm/include/asm/arch_timer.h > > @@ -125,7 +125,7 @@ static inline void arch_timer_set_cntkctl(u32 cntkctl) > > isb(); > > } > > > > -static inline bool arch_timer_set_evtstrm_feature(void) > > +static inline void arch_timer_set_evtstrm_feature(void) > > { > > elf_hwcap |= HWCAP_EVTSTRM; > > } > > > > Acked-by: Marc Zyngier > > M. > -- > Jazz is not dead. It just smells funny...