Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2308606pxj; Sun, 13 Jun 2021 16:11:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8ufPRohHaS1gYgutDOtd0dmf3xB0haD/sQG9/ekuZCCGqpokzHHzj7pGpVEnO15zYndiO X-Received: by 2002:a05:6402:3444:: with SMTP id l4mr14750297edc.259.1623625910094; Sun, 13 Jun 2021 16:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623625910; cv=none; d=google.com; s=arc-20160816; b=0BGECO3Jj065Up+YySxDk88VvqHLSqIRNUaSKYZkO5QgqI48dheJBNSGah6pBV3K05 OVhNhwbXlgBlg6UZNYwm7DwCSdDKjA+g87ahiRKNb9HNQyR1t2gBWg/iDxlWVN4LVPYH Sg6lYlMn/4L4Si75O4jX/hlWKj6fjUa3ZxFblwC+CzvEe0saxWNjCMdjaV+CVfdH1sfn 7oW6UKCSMW85djgcZgXHf/Izpt96UjogawCa0qDBXsf2rZydOvB64dCpTeji2hAnrZDr F4mjQh4aA/tq9UDMeOYxioIo/dbIgRm8ewub+bwmO//uEjNWxSfUd8Xn+0a7qBYTCTbC fGdA== 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:from:dkim-signature:dkim-filter; bh=k51POIycP/fPVGF3ducrjJZqURhI9g4BqolRe9WYpyA=; b=Ldmt2YWIjM79ieWsTP1coU5a1P7iTyVWghRWFfWLCFOfXguzCFFarUXWd52YpIFsXr dOjmmW+LJGcHVja4fG1Ej/0FGF52p2Zk8LgWMIHdgfjo3Ye55o6MCLxZatvlYX1KLvlF HmQoCJ9H3zWbzPoA6lB562kwyymp1h0N5ZurH3rhI984aBfWwGzKYelQd4AvAgCxtV+8 Ley74sqonFfQb3uGY/YcFYgnSrClZiOZC5GBJ9zd9JHU/0aHSg/kGIvgh5zl0iWkD6Sa zrYFUGDylBTWsPmceFVy7m8hRNrQXBBcCcrNZ0/ypemOL2hZI7y8yS7tNh3bpn8DcmK1 PQig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=UX2nsCQa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si10346002ejf.18.2021.06.13.16.11.27; Sun, 13 Jun 2021 16:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=UX2nsCQa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232172AbhFMXKo (ORCPT + 99 others); Sun, 13 Jun 2021 19:10:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232133AbhFMXKo (ORCPT ); Sun, 13 Jun 2021 19:10:44 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55001C061574; Sun, 13 Jun 2021 16:08:42 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (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 E368F2C0; Sun, 13 Jun 2021 23:08:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net E368F2C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1623625722; bh=k51POIycP/fPVGF3ducrjJZqURhI9g4BqolRe9WYpyA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UX2nsCQaU/JWPxE9E5TppRFstPn0i8kYzhzu3PDGuW4gS9h4kQfpZQaVfb0Tb9lR/ m13gva+ksqP5QAKZ+Lp8PxmLqFiq2RHufT6/3YxMd+fOQEZs8F36/eOjZzfJYgoM3Z ljmBvFq1/xj9/xjTcA2VxbyDnEdGZ3aoEscenGIwisspahk72rFZv42OayDPvj3FEh d+lZbnRcifjWnTQIXcCJMkuUurmfSfNP1IRxelzT466vrOtV4khj+nzOs1oM4EzX76 P92CvOFNPuXB3ax3LMAJ94sxHiDNV6nyAaiMaoaIp3pg2Zdd0VAuarkeuPT8lF6BJ6 GwoUH/1ijtYHA== From: Jonathan Corbet To: Carlos Llamas , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Andy Shevchenko Cc: Christoph Hellwig , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com, Carlos Llamas Subject: Re: [PATCH] docs: printk-formats: update size-casting examples In-Reply-To: <20210609195058.3518943-1-cmllamas@google.com> References: <20210609195058.3518943-1-cmllamas@google.com> Date: Sun, 13 Jun 2021 17:08:41 -0600 Message-ID: <87czspbbwm.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Carlos Llamas writes: > Since commit 72deb455b5ec ("block: remove CONFIG_LBDAF") sector_t and > blkcnt_t types are no longer variable in size, making them unsuitable > examples for casting to the largest possible type. This patch replaces > such examples with cycles_t and blk_status_t types, whose sizes depend > on architecture and config options respectively. > > Signed-off-by: Carlos Llamas > --- > Documentation/core-api/printk-formats.rst | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) Applied, thanks. jon