Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5428256rwd; Wed, 24 May 2023 01:22:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Z7111SrHwxUYn25Nn/kQUoT5esX+oGWptpCHb5lGbYs6xRZ+VAV/Xfxm+qMbWcQE9fl+S X-Received: by 2002:a17:902:d4d2:b0:1af:b5af:367b with SMTP id o18-20020a170902d4d200b001afb5af367bmr7438412plg.29.1684916557150; Wed, 24 May 2023 01:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684916557; cv=none; d=google.com; s=arc-20160816; b=zKZTw5FvbZwyN4bnGssDKc/wasoxKZkuv5EIuGS+7/OG0/qz9oA9gPl+MMDGFHi1Ls WJMYKqX2bcAkL/pBk5mqLijBNPGOXiCA69Cff3B4LbkZ1PhDlYWRpaacMHp/dAYiHmHU 14LUoRQGoxZu/MzUcl9PDmUIxyZEGrSuzMdmsGWo5q5xS0JzVRB+wGZW5IO6f9FkWJOW VrfgiKUjB7JxWpiTCJnfexq1fFLHQAg+me7nhRgIOA5OKbWPm2j72nCjiJ0WyCn3k6dv Qo1yL9oqw5mZjZD3WC7/AfUIpfTiEinnRxftByap6xK4Zh9lkQRDKuot0s8kXEJEHKxs 198g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=oDNsNlWRYKgt782T3/Agu9IJLsTFRckuzBM5WP6JWeY=; b=LPyPD50xZiEV/8CcFzL+ggP3MwDDWen/lRxcQz/Z80GRbaG0svZ1aHcc1JsID4J1s3 6ezaCWPDQKZpm9qMl0YZAMJoC7s11lkQmz2rKEvFeeAcfX6zSfgW4m/CTStf+5jIx7FV tGANu5vREXPDApgz8BRaxE40Iy3sosqHvHOa3nu1BkJrVv7jPxeSt6uPMjuC0bSAlZml EvyG6U5abxomrNj3VAsP6BcjygUy5575LALhxk+SzvjxWDJcMeiasMFXE++wveETpS/e fvd2M2hczmLREaoNxYqx3RugWagPzrPgKdJOwKkvN10fIXA1jTQ8N1/qSYH/RaatwYId jdqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=08ZKCoEm; dkim=neutral (no key) header.i=@linutronix.de header.b=lAhXoMdb; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi8-20020a17090b110800b002299b06dca9si785857pjb.83.2023.05.24.01.22.22; Wed, 24 May 2023 01:22:37 -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=@linutronix.de header.s=2020 header.b=08ZKCoEm; dkim=neutral (no key) header.i=@linutronix.de header.b=lAhXoMdb; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239804AbjEXIKw (ORCPT + 99 others); Wed, 24 May 2023 04:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229881AbjEXIKv (ORCPT ); Wed, 24 May 2023 04:10:51 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA9BDA1; Wed, 24 May 2023 01:10:49 -0700 (PDT) From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684915848; 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=oDNsNlWRYKgt782T3/Agu9IJLsTFRckuzBM5WP6JWeY=; b=08ZKCoEmx575FSIoTYamJgNW8rePnBVnnUl6NvnxaHXFWU6Rq224/aupOg/eEc4vuc4MfQ MH4PTQrb+f1zmJHllRcVdq+SI0dxpy/Kg6w1jrEXpX1EmpZjjpfo46v2QNQKk08bOcGP0o vpcOnSSgXeNhk3BtvXOh3hYUo3217cnemU1FZEHbLOa0Tx/TUHuxCC0joPcDxX6sbD5Ubq /FLwZbEDF1qBFLkXxuwtgKrcEVC/5mBI22AhFxc50qla3SfCyZHQMGzRxFxOU+CCHC3WyR WijQa6rJJYvCYOgU3Xaq77sNcWZkJbb3+slB2DaDzZ0mPGekEuhomUFOiQML/A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684915848; 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=oDNsNlWRYKgt782T3/Agu9IJLsTFRckuzBM5WP6JWeY=; b=lAhXoMdbrS11A26A40eqmMgwoW8fQdExtcMd2/P417ochMP88Os923k/4UfR12W1tS7eSv W04A72RRvpeyo3AQ== To: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Andy Shevchenko , Rasmus Villemoes Cc: Jonathan Corbet , phone-devel@vger.kernel.org, linux-doc@vger.kernel.org, Luca Weiss , linux-kernel@vger.kernel.org, Petr Mladek Subject: Re: [PATCH] vsprintf/doc: Document format flags including field width and precision In-Reply-To: <20230522150853.30417-1-pmladek@suse.com> References: <20230522150853.30417-1-pmladek@suse.com> Date: Wed, 24 May 2023 10:14:20 +0206 Message-ID: <877csyjgnf.fsf@jogness.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INVALID_DATE_TZ_ABSURD, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 2023-05-22, Petr Mladek wrote: > +Examples:: > + printk("Dynamic table: |%*d|%*s|\n", id_width, id, max_name_len, name); > + printk("Dynamic precision: %.*f\n", precision, value); Generally speaking, it is rare to use printk() without a loglevel specified. And it is preferred that the pr_ or dev_ macros are used. Perhaps the examples should call pr_info() instead? John Ogness