Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5015427rwb; Wed, 21 Sep 2022 01:49:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7mMJ+CVuwy+BQBkxkYZbQeouyINFVK56f29C3XA9Af1v/fajF9akIZjRgCOA2B0ArR4rim X-Received: by 2002:a50:fa99:0:b0:44e:9e71:4899 with SMTP id w25-20020a50fa99000000b0044e9e714899mr23995611edr.197.1663750190285; Wed, 21 Sep 2022 01:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663750190; cv=none; d=google.com; s=arc-20160816; b=uCr+7z0RwVo6bb8fbHXVJaN74NOgM7TlxyuogimMtq3UTJmC/21rK35BjmQglRg4/w qRNwSSXLAaPVKpbX4swDnl8TNMWF33gSqf38pms+SpTI7zD/1RFB0Ra0qpTIbG9jdQA5 6c8ofxHPtG53E7dAJNJyXpDr/hW4lavm5h8Iz8428g4hXAT9xwlXpSWMpHSW/jZlDA8O eTpjN7Oh/qBdcDj/6gyzNPkutc+bOghbZDdHMBwF3WfimYkkIJNhR2FaaKThIDUIdgs6 GON8ndX6PiH0dAi50d2Gcxs1cyh8VSmdEUaixKQAsSFoAHr0JKNoDIS3lTx29QXVX583 MXSg== 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=fdbjL5VhQ34WmhthZwfzbvkNiKnHHQVvVpAEIOCaE0c=; b=lFQfKBu6d96Dx4RER0VyuBMYTo/vh+SohKc9riI6OJmxmyAZ9FgpQBGgNPcanQiOO1 bAifeGvPO19F4RWdAl3FWshpKzstmGoZJfP985wHy93oMv36mz6N8uEWFDPCXaPEGo1e z4Gkfv+LAQfb8uABQOakSe5aSGo2rmz5SedIbMHFs8gKIFKXaiOf0qymYZ0v8DXoxMLw P7Z8j8T/RvFoBtpbpXsGCfzruVHxk+Vuwm6frJX9jGvzB9hA7Dlr9FCttXB4Y9cXIOst 2DXi7O53hKASqCfhyKlKRlZIJtvM5Mv6CARSd281/I9ux7rAIGe4ZHfL1dGK3yg889LR KW8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Bz5Bc3iZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dv9-20020a170906b80900b0076c593c2d58si1872248ejb.479.2022.09.21.01.49.24; Wed, 21 Sep 2022 01:49:50 -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=@infradead.org header.s=casper.20170209 header.b=Bz5Bc3iZ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbiIUIeo (ORCPT + 99 others); Wed, 21 Sep 2022 04:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbiIUIej (ORCPT ); Wed, 21 Sep 2022 04:34:39 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD7712AE7; Wed, 21 Sep 2022 01:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fdbjL5VhQ34WmhthZwfzbvkNiKnHHQVvVpAEIOCaE0c=; b=Bz5Bc3iZpOcDIEriFASnnm/18e Uez4uEacjiUb0oCtG8nyBbZc/dPOgv1xkWuPCUdpY9Gk5OmVFJK7T3WYJK+gBzHGkulu7u8k5QTa+ 5X2m64ee2IAzxkVmVi+tQKBestAQDCPmyW4zBVELdOpnPtUPEEGSVzHEIGRJv6VaZG6K35xKMOh1V 9QPTpRw3pyMLK3N/DYR5RTs+3fHUAQP4HqesLS7btQN8eLH6z8ZkJRLEKxNyRYE8jmGpEtCD2AU0A PEL/2Otkxyih/8WtjIBM2UPF1ZFk5kvI7k9yGjvMuvIHwKWKyWS5ZHRw5SI+a58QYCx2y+PVdm8/w qD/YCYwQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oavBm-0069lq-2i; Wed, 21 Sep 2022 08:34:38 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 2B214300074; Wed, 21 Sep 2022 10:34:35 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1A2222BB0BFFC; Wed, 21 Sep 2022 10:34:35 +0200 (CEST) Date: Wed, 21 Sep 2022 10:34:35 +0200 From: Peter Zijlstra To: linux-kernel@vger.kernel.org Cc: linux-tip-commits@vger.kernel.org, Jules Irenge , Ingo Molnar , x86@kernel.org Subject: Re: [tip: perf/core] perf/core: Convert snprintf() to scnprintf() Message-ID: References: <166374773592.401.16831946846027095231.tip-bot2@tip-bot2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <166374773592.401.16831946846027095231.tip-bot2@tip-bot2> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham 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 Wed, Sep 21, 2022 at 08:08:55AM -0000, tip-bot2 for Jules Irenge wrote: > The following commit has been merged into the perf/core branch of tip: > > Commit-ID: 678739d622ae7b75b62d550858b6bf104c43e2df > Gitweb: https://git.kernel.org/tip/678739d622ae7b75b62d550858b6bf104c43e2df > Author: Jules Irenge > AuthorDate: Sun, 18 Sep 2022 00:41:08 +01:00 > Committer: Ingo Molnar > CommitterDate: Wed, 21 Sep 2022 10:01:20 +02:00 > > perf/core: Convert snprintf() to scnprintf() > > Coccinelle reports a warning: > > WARNING: use scnprintf or sprintf > > Adding to that, there has also been some slow migration from snprintf to scnprintf. > > This LWN article explains the rationale for this change: > > https: //lwn.net/Articles/69419/ > > No change in behavior. > > [ mingo: Improved the changelog. ] And yet, at this point I still have no clue what's wrong with snprintf(). So not much improvement :/ As such I'm still very much against this patch.