Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2311328ybi; Mon, 17 Jun 2019 02:36:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPqlXhO7PR3F8xvPKQFRuPTEGym7PtNuh4IF5C/ymPgxt+T8wHNu8zlBhyomen97MmvADk X-Received: by 2002:aa7:8049:: with SMTP id y9mr59167072pfm.195.1560764213824; Mon, 17 Jun 2019 02:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560764213; cv=none; d=google.com; s=arc-20160816; b=pu3WGot31XbdS45QQQnE8Yn+ymaV0NXRL6D7q79nert8Nc8saFOfhrazAzwe2rBNYQ 2FD0WkXm0xKMNVkbPh6MnCXPv9hNUHnEmHugqty5H6IqFYp4kdSBdHA4PCn+gAFIE4m9 Xv/K0DiXwNX2uAW18tTqRNOVoG6C8IPtBpkzMIB1Ug4lhbjv9PR1cjShktBIv3p0b3uz ll4ENXmqEXpwDlSRRQrFsi8WEiuYotMwX5AtsSYMWaU+DdWvcEIEOTEJWjEJ1+N0aGfE xj1xzdRGlnvjR0YPeotYYDlxyuF5Ea2e8mRjEBulCHxk9cBT0Bd2edB1j4X47sKKhql8 I0vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vt6I0k3hFOnX1SRbgBk/ZRjn1C9VidcD+F/CV2p/E+k=; b=Rh6stqZUFVI8MKKzyksDGoDvMwftxEMjch/3ClcewUQgWbBWWhQyJ93OCfiFSlEWYH SVb+VLWyjIDdWUx4cBLHvSnpZSDlTNBGfBp538bwBUbW/uqTmSt5HBO5hCyrCHdmYgfz g2okIJeycAmvoYWGGxjopOyi3xRBevzZ+RSgGJ5t2A7TTeldkaroKfgzM8SHknqnTrMm s9yLJx3fNkJBbVx0iUlCE/oLi5UbdhxS0aYlz80PnjqRz6o+nj0wZrdxHGoJgvZqCRLb X7RJPI5mp3tYwOtb4XOU6gIAbgseU2B+l3WzffRj3pQGCC1oQamya6sp198arCCtelu/ pUdQ== 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 9si10256608pfp.180.2019.06.17.02.36.38; Mon, 17 Jun 2019 02:36:53 -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 S1727561AbfFQJgN (ORCPT + 99 others); Mon, 17 Jun 2019 05:36:13 -0400 Received: from foss.arm.com ([217.140.110.172]:43220 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbfFQJgM (ORCPT ); Mon, 17 Jun 2019 05:36:12 -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 130FF344; Mon, 17 Jun 2019 02:36:12 -0700 (PDT) Received: from e119886-lin.cambridge.arm.com (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 38DCA3F246; Mon, 17 Jun 2019 02:36:10 -0700 (PDT) From: Andrew Murray To: Mark Rutland , Marc Zyngier , Catalin Marinas , Will Deacon , Daniel Lezcano Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Rothwell , Linux Next Mailing List , kbuild test robot Subject: [PATCH] clocksource/arm_arch_timer: remove unused return type Date: Mon, 17 Jun 2019 10:36:01 +0100 Message-Id: <20190617093601.34511-1-andrew.murray@arm.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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") 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; } -- 2.21.0