Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26680758rwd; Mon, 3 Jul 2023 13:16:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlH4CvTon8WEUcXTvVCxiT8VoCa5q17OHAy8ggFQzXQPTDjQEE6ZFkQgMTSaRDQ8kgYA3BvG X-Received: by 2002:a17:90b:3b88:b0:25b:d4bc:28d4 with SMTP id pc8-20020a17090b3b8800b0025bd4bc28d4mr11168111pjb.40.1688415378971; Mon, 03 Jul 2023 13:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688415378; cv=none; d=google.com; s=arc-20160816; b=htGPvW05GZ2ZN7oDYQH2gCuav7p0Mlf3GFWeT+TGEMJGAIU59z2C2M+md+U7/Xq0SD V6f1BAnFtrzJc2tShMnSu9r+E56VVToo7L2BZha7F5W50LwTIjDNrMz6OWEBTyPprjfU WEhuiROlylK3KOn9BwvRRTiL/SP7eDIdwqtu4pL5iTxkWXEknPYiJmu1Uwm3AkoLyG7P SvTsCgkj8wFcO68B2hnIv7Zp94bQQvq13Rbjq4tx6xdGiRgNylSatA490HhFDKxOVEfB 9ApbErV7MnOIEezzkDs9VC1jvuyaLKsDVYcUEpyHDnoOum/hWS++iY3ZZA58JSnUsm2V Gvnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wmfYPyzMN3TrxeJJNRGqcc1V78+Dvq57QM07q24THxo=; fh=DAEPJ4UtZGhPXHFC43QVhxBF67AB7zaxrfuDMYqZ4Jw=; b=qCmXDjurgQq2x0m8fck0psZYmr5Vmt58d8voTqFFAysguwyot/WCIOhybqAHBZhycX vegLklStvNoqlxMb1d5wMFf94nOTdikpmcrsIHvWF9qAIHYZgUcpbpn3iwuV7YyKx67C mYrH/QTMq6qESyQJrV2Hq3whqXn23Ja6KTvLGBji6ttnjwxWjR9d7RRerw04gzWRh3nR DlZXQOHFSgIAFBnHsgNrTQO6sSW5ivxfAUxyP2QuyJNiECY8UKcDucbHYFGENfd2qgbt clLX25VfQdnDNZmE0dGWHeM3sDKTu2EyrstzGdjdj/+CMe4JNS3DJrJ4LKKRoEXGbysW CMtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cBXXw1BX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r28-20020a63fc5c000000b00557622c1ca0si18564141pgk.554.2023.07.03.13.15.57; Mon, 03 Jul 2023 13:16:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cBXXw1BX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231510AbjGCTRF (ORCPT + 99 others); Mon, 3 Jul 2023 15:17:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbjGCTRE (ORCPT ); Mon, 3 Jul 2023 15:17:04 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9879E52 for ; Mon, 3 Jul 2023 12:16:56 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 41be03b00d2f7-55ba5fae2e6so965959a12.0 for ; Mon, 03 Jul 2023 12:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688411816; x=1691003816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=wmfYPyzMN3TrxeJJNRGqcc1V78+Dvq57QM07q24THxo=; b=cBXXw1BX/YQS5OhV4wyvCMLEJtw2faKDUqVuqbWKxU8/5yCELOp1tCfXiXtEv52L9k Yug4x5JvummwpTGtDjxJFlx12KJExacvZghztwNbjKCtREYW/fbFvq3eUtxNKLV+zRXg QTsAuM4NQEoG6QGtlMfRxMY7t78OQSQoth/0E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688411816; x=1691003816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wmfYPyzMN3TrxeJJNRGqcc1V78+Dvq57QM07q24THxo=; b=IO6B48WhsiaAdX31MxMuxwj86NYCGXBBFrETTCDdrDukzDTyLtfTOgTQiDDUWLWVqS YydbbCscul0TRPZP7L8jegi1QgN8nJU7kncklc7E1I1nFo1L8AtLI3H9OwoR5ldEp2b9 fJ8m9HNFBs4S7MQv5rCB7Q4Esq8sjmB3sJkr937KtJU6hUspaGyPD7YvzpyVJuupo/fj 1CW2j4j/IQrgD9B2f0748o7zLG6WkVQDZz5Kgclu06F4eRN5OGp3MOGuNxKgl7jRkJOP flumwfLLnJi6tzmwSvYhyDH4YoZr6JNcxDN8UhdfE0LZX4dhiYERzs/ZulA0FU6MH90d /InQ== X-Gm-Message-State: ABy/qLZHprp0c/qpc9sralXHNcDTZ0GzvdDZdURQLseSXWqPlOj1EO7p FT3UUaFF2Amf5su0lw3wzvGAxQ== X-Received: by 2002:a05:6a20:2595:b0:126:3528:5a13 with SMTP id k21-20020a056a20259500b0012635285a13mr13907284pzd.53.1688411816317; Mon, 03 Jul 2023 12:16:56 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id i11-20020aa78b4b000000b0066a6ba123eesm14325571pfd.51.2023.07.03.12.16.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 12:16:55 -0700 (PDT) Date: Mon, 3 Jul 2023 12:16:55 -0700 From: Kees Cook To: Naresh Kamboju Cc: open list , linux-perf-users@vger.kernel.org, bpf , Andrei Vagin , "Peter Zijlstra (Intel)" , Arnaldo Carvalho de Melo , Arnd Bergmann Subject: Re: next: perf: 32-bit: bench/sched-seccomp-notify.c:139:24: error: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64_t' Message-ID: <202307031216.171373CD3@keescook> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 12:55:59PM +0530, Naresh Kamboju wrote: > Following build regressions noticed on Linux next-20230703. > > Reported-by: Linux Kernel Functional Testing > > Regressions found on i386: > > - build/gcc-11-lkftconfig-perf > > Regressions found on arm: > > - build/gcc-10-lkftconfig-perf > - build/gcc-11-lkftconfig-perf > > Build error: > ======= > bench/sched-seccomp-notify.c: In function 'bench_sched_seccomp_notify': > bench/sched-seccomp-notify.c:139:24: error: format '%lu' expects > argument of type 'long unsigned int', but argument 2 has type > 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=] > 139 | printf("# Executed %lu system calls\n\n", > | ~~^ > | | > | long unsigned int > | %llu > 140 | loops); > | ~~~~~ > | | > | uint64_t {aka long long unsigned int} > cc1: all warnings being treated as errors > make[4]: *** [tools/build/Makefile.build:97: > /home/tuxbuild/.cache/tuxmake/builds/1/build/bench/sched-seccomp-notify.o] > Error 1 Thanks! I've updated the format string to use "%"PRIu64 now. -Kees > > Links: > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230703/testrun/18069798/suite/build/test/gcc-10-lkftconfig-perf/history/ > > > -- > Linaro LKFT > https://lkft.linaro.org -- Kees Cook