Re: [PATCH] docs: printk-formats: update size-casting examples
From: Jonathan Corbet
Date: Sun Jun 13 2021 - 19:08:46 EST
Carlos Llamas <cmllamas@xxxxxxxxxx> 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 <cmllamas@xxxxxxxxxx>
> ---
> Documentation/core-api/printk-formats.rst | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
Applied, thanks.
jon