From patchwork Wed Apr 5 23:53:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 747569 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vz2jY6pfTz9s8S for ; Thu, 6 Apr 2017 09:53:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="cZf11Ny5"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id C73C7C21C8C; Wed, 5 Apr 2017 23:53:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E907DC21C26; Wed, 5 Apr 2017 23:53:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E3836C21BE5; Wed, 5 Apr 2017 23:53:24 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by lists.denx.de (Postfix) with ESMTPS id 48B96C21BE5 for ; Wed, 5 Apr 2017 23:53:24 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id b187so34281049oif.0 for ; Wed, 05 Apr 2017 16:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=F5tj4x9IpJvBFZkBLT1Xgs4sGbIiTbQy7JtI5k0ifJU=; b=cZf11Ny5sT248tSbcliRC8zENUxYT1T2C++MMiye2LeEt04rd694PF8vn25EwZEtZe OBMVAT1tSsSNiqd6HdAPkSiJ7ithuVlX0CvdQlk2QKsNEVXRVLpL9/RFu0QDmQZR5INY NOSJ1ra6iM+R9Z+qr8qhMLo7qBdGmRUX5k5Wmmbk5F+bZMoVSPsg3ohFy/1KjobKrvBf 8wvJurJGTud5bm0W8/l3U/eDOE4iwumGJzIrsijj0Fxls24YgK7nfIfiZ3YzbRD52Vfy kRwO1lkw7ecBIxTKt3Kg08BcSKvTdMvXoH0pylWpIhwRMzKhUeN2FfT81VQ/VSfh3mQW FxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=F5tj4x9IpJvBFZkBLT1Xgs4sGbIiTbQy7JtI5k0ifJU=; b=jUHoof4NGPLxMW1l3DIUlARcwbwzTVMZPL6tq5MEtbj6EyawK7qZkIe32MEoU3x41I 2y4OKrzjmVImVBYlxULauibRMsQ0QRpAucWyTVOSDDFmBhujXG9oRsws40sIukQX63ye jFGJFAOUj8uMD8EylMv24FJonIuZtai2U0/xwI9Do1ZjteASc1esWZ3BmMPfehIMzYsi HtyTjALDVtKIo9pkqgTcN2q3baGZMTi6ArZH6xNapiJcJ6voXQCvPNUdSjFBww89CAxK EdNgyNaRSvSVvhNWoFzC/XQ9D07tkny98W3K4jM/wIFsftWCBudRHfL1oTFnOQ+QlOdv +Q3w== X-Gm-Message-State: AFeK/H2P85XAkDKe+7byHLMKtMfSU7CaCFYRcamudrdVBI5OJG3cuYbgyiIMyCiUEitZyQE/ X-Received: by 10.202.64.195 with SMTP id n186mr14345316oia.125.1491436402740; Wed, 05 Apr 2017 16:53:22 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.184.96]) by smtp.gmail.com with ESMTPSA id q107sm1248463ota.6.2017.04.05.16.53.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 16:53:21 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id BD94A40519; Wed, 5 Apr 2017 17:53:20 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 5 Apr 2017 17:53:17 -0600 Message-Id: <20170405235318.18217-1-sjg@chromium.org> X-Mailer: git-send-email 2.12.2.715.g7642488e1d-goog Cc: Tom Rini , Andre Przywara Subject: [U-Boot] [PATCH 1/2] arm: Correct signature for get_ticks() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This should be uint64_t to match its definition in common.h. Fix it. Signed-off-by: Simon Glass --- arch/arm/cpu/armv8/generic_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8/generic_timer.c b/arch/arm/cpu/armv8/generic_timer.c index cd92b2c761..a2dda333fe 100644 --- a/arch/arm/cpu/armv8/generic_timer.c +++ b/arch/arm/cpu/armv8/generic_timer.c @@ -43,7 +43,7 @@ unsigned long timer_read_counter(void) return cntpct; } -unsigned long long get_ticks(void) +uint64_t get_ticks(void) { unsigned long ticks = timer_read_counter();