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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,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 21BCEC43331 for ; Thu, 7 Nov 2019 20:10:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE8C1214D8 for ; Thu, 7 Nov 2019 20:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbfKGUK4 (ORCPT ); Thu, 7 Nov 2019 15:10:56 -0500 Received: from ms.lwn.net ([45.79.88.28]:39460 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbfKGUKx (ORCPT ); Thu, 7 Nov 2019 15:10:53 -0500 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id D35BD2C1; Thu, 7 Nov 2019 20:10:52 +0000 (UTC) Date: Thu, 7 Nov 2019 13:10:51 -0700 From: Jonathan Corbet To: Miles Chen Cc: , , , Subject: Re: [PATCH] docs: printk-formats: add ptrdiff_t type to printk-formats Message-ID: <20191107131051.61308a05@lwn.net> In-Reply-To: <20191001100449.19481-1-miles.chen@mediatek.com> References: <20191001100449.19481-1-miles.chen@mediatek.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Oct 2019 18:04:49 +0800 Miles Chen wrote: > When print the difference between two pointers, we should use > the ptrdiff_t modifier %t. > > Signed-off-by: Miles Chen > --- > Documentation/core-api/printk-formats.rst | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) Applied, thanks. jon