From patchwork Tue Jun 18 09:48:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167125 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3988552ilk; Tue, 18 Jun 2019 02:48:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqznP76f0A3QYOQztY3u2obzSQs4RzQRNqcoMPfxDsOnXs1E1A1c+ZjwoOQtSV9kAlTgdykM X-Received: by 2002:a63:c006:: with SMTP id h6mr1828196pgg.285.1560851334114; Tue, 18 Jun 2019 02:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560851334; cv=none; d=google.com; s=arc-20160816; b=cn+wD+9Lc15VW5/N0xE7NfRQJQ/XS8syVHxXRm3NZ+fLcrWJgU7TyUnhoGTNRh+X8X xRnf8bNDk6KO44BuoF7VjkmRGeuRlVhVjwJC+pz3c92vemS11ZAyahYU2/z5YINPw4k1 yydriC6wjptL39FlybPSc2qNkwn04ujY6UgSwRX98oaUbC/A4YQgeH9wTjs46509B3to CT3FlAXqjEItffv/pNyv5Q+qpEQTIKFGClxOX/PFNPABNP1eF0jE4CqywWgb6B3GxQ0K LP0QtjuSkP7/xUQb0/1S3qveLrUj79vo9QBXpk/kPLhQoRsOwm4fb3bo4cH3jGQWQp+A koDQ== 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=WWbGne+kAzYbYTtfQz1NrjEI0Q61189/A2s1nocO1aE=; b=JcDEYHly9FZY07p3FqTVZF+fYuuPj/kowiwzHdFhhv7tHxKnQe56xt8/HdbssIo7Ud D5G+OiCwGBerWOl3u6Y88WJwlRxn5H4cL0jTkEJrZJu9Su1N5gEsnFa3TxbWnFvJMB8C IaJ2yLexDn4cPC4mB/Cjl0vPf7cXPtIjrgjXIdJNElytN9K08lszh70Tz/tGtngelMlU aYGCjJgXVTm1X8FULj0I2zeaSna3hiJEKpmgwm0o6xaQgDxbXK9cdyPPsouAUTDmRvNh NdD2VRdsYsk9uAC/7C+zJOZ0Dvd0lvgOaWgveIzhJpFFtZpaE1c81pdtnmXd/Qei2cSP jBRg== 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 o130si8719705pgo.458.2019.06.18.02.48.53; Tue, 18 Jun 2019 02:48:54 -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 S1729433AbfFRJsw (ORCPT + 29 others); Tue, 18 Jun 2019 05:48:52 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:47889 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729113AbfFRJsv (ORCPT ); Tue, 18 Jun 2019 05:48:51 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MfYHW-1iEQLo2DIO-00g0zN; Tue, 18 Jun 2019 11:48:40 +0200 From: Arnd Bergmann To: Daniel Lezcano Cc: Arnd Bergmann , Andrew Murray , Mark Rutland , Will Deacon , Marc Zyngier , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clocksource/arm_arch_timer: fix arch_timer_set_evtstrm_feature return type Date: Tue, 18 Jun 2019 11:48:27 +0200 Message-Id: <20190618094835.3709679-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:UIgZ95nkkhH5yq9mtc64kQSjIUtdTsKX0SLMkEgh0FriqqYmcMv kxeFtXo0x1iEJD8RRUXpQLFNbtfh7YVHmah3VW5mD91TUWdcM1FeSZvBaQF7j4ykrXU8U42 Cbms4G14co/9jhPjG7z8eURv5cGVlcAhzENcDkEO3iYZpq1Lw/8/sc6ZVwGjaOiMKUTpIdv nMoDcSbC3beBOQtMsL4UA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:NrdTgJmQsLs=:pVVaicY1CbeOugFNSXSVgG rOgWiznSoDCUAl9Hqna4Qb3JWHNH1nIjTbjr8aAwykAbW+S78E2Zr6hsxeX0/OJpgFunrxJZ5 EDGRkVaBqNFI52AjT1TjJWlDEdhYS8IlX8kjXUSpZ9l4gSTwP4ctBNftgEYjxRigP21c+WBuQ jj9hcUfMxcSz5MkuK1t7wMjghZs4SaPmRokAIcsf/L2Hg39tdCIGrZ1vAkLuGqou+8fq7Ukom lwZKhLZDm3/yVrLTDQsUPOcIKTBpfYK/Lsd2RIyc7gtQGqjEAraA0PjnCefsIy7mUFzDvUkwZ 6SBdJNUe9g77f/30K/7bnqbzK5oe7K1UVhFi9egyDssXTi4hi9aeYodeVrgOE1bVIMrDzUXr5 9EjPt2Xb4CEclpaF6B7AOSRwsRZ4S/dcMdCq34HJCDB/3BNVxPhlkxLMDbpumONDaeBSo+ebH 6cJwd57yQjbnNGSf/d2NElc3/5P5Ju5VSDxB47UFg/w3mdNT8DIRLdRo8B/a8ZmKrfkqa5OFv y+caxYZqHrOO3wX3KMrlOsHi8QigOCr8TyOB3xoOZXFqW9/fk4jkzPigdpXceG6KQNfpY1x/+ 6sxUClYH423hLKUrUXc6sPmlx+7eejEzHykSXBpyuyTpvcsiARxHRvQDT8wzRDE/jmOAS+nQl zHtNuMDsbenzJNHFjq3x+fd+kj93RQ5mVEhSKD+hSpafKpvQ0BhMW9RMaWavVltwpk/26o2nn /5zLosyryCW73sHF+phX2SRKzw5lQltarOH7XA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This looks like it was copied incorrectly from arm64: In file included from /git/arm-soc/drivers/clocksource/arm_arch_timer.c:31: arch/arm/include/asm/arch_timer.h:131:1: error: control reaches end of non-void function [-Werror,-Wreturn-type] Change the type to 'void' as it should be. Fixes: 11e34eca5d0a ("clocksource/arm_arch_timer: Extract elf_hwcap use to arch-helper") Signed-off-by: Arnd Bergmann --- arch/arm/include/asm/arch_timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.0 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; }