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=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 738C0C28E80 for ; Tue, 19 Jan 2021 18:29:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 471BD20776 for ; Tue, 19 Jan 2021 18:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404378AbhASSGY (ORCPT ); Tue, 19 Jan 2021 13:06:24 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:59024 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391683AbhASRlT (ORCPT ); Tue, 19 Jan 2021 12:41:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611077990; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m0oJa+7KblrnP8owEXHv1NwXEfaIZVqOOXGhT4PIWXc=; b=gxRdh6LmSh2p4/OSDcN1KyAkMP40YNIyqT9QMNJTjZMk+/QabwJT0Cwxxp5NlgZHRntPiQ qxfsrdgDEuT30ACSg5N+2bQYpaqEoq0kVl/4cYVilzqbN2FIXcWuCbA3mJ21FwSG3bZUxW zKNze7M1i/QbC23mZUUiYCISIUwPGWc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-494-J_ApeiosPmeNKraR_Mgkbg-1; Tue, 19 Jan 2021 12:39:46 -0500 X-MC-Unique: J_ApeiosPmeNKraR_Mgkbg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 05EA7800D53; Tue, 19 Jan 2021 17:39:44 +0000 (UTC) Received: from krava (unknown [10.40.195.212]) by smtp.corp.redhat.com (Postfix) with SMTP id 754E010429FC; Tue, 19 Jan 2021 17:39:38 +0000 (UTC) Date: Tue, 19 Jan 2021 18:39:37 +0100 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Ian Rogers , Stephane Eranian , Alexei Budankov Subject: Re: [PATCH 03/22] perf tools: Add debug_set_display_time function Message-ID: <20210119173937.GB1717058@krava> References: <20210102220441.794923-1-jolsa@kernel.org> <20210102220441.794923-4-jolsa@kernel.org> <20210119145922.GL12699@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210119145922.GL12699@kernel.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 19, 2021 at 11:59:22AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > +} > > 78 12.70 ubuntu:18.04-x-sparc64 : FAIL sparc64-linux-gnu-gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 > > util/debug.c: In function 'fprintf_time': > util/debug.c:63:32: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__suseconds_t {aka int}' [-Werror=format=] > return fprintf(file, "[%s.%06lu] ", date, tod.tv_usec); > ~~~~^ ~~~~~~~~~~~ > %06u > > I'll try to fix it. thanks, hopefuly the %u will do jirka