Linux block layer
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Damien Le Moal <damien.lemoal@wdc.com>, linux-block@vger.kernel.org
Subject: Re: [PATCH] null_blk: cleanup zoned mode initialization
Date: Thu, 28 Jan 2021 17:10:56 -0700	[thread overview]
Message-ID: <75908f7e-7d30-4e90-c187-c473a14f0f2a@kernel.dk> (raw)
In-Reply-To: <20210112034453.1220131-1-damien.lemoal@wdc.com>

On 1/11/21 8:44 PM, Damien Le Moal wrote:
> To avoid potential compilation problems, replaced the badly written
> MB_TO_SECTS macro (missing parenthesis around the argument use) with
> the inline function mb_to_sects(). And while at it, use DIV_ROUND_UP()
> to calculate the total number of zones of a zoned device, simplifying
> the code.

Sorry missed this, applide for 5.11.

-- 
Jens Axboe


  parent reply	other threads:[~2021-01-29  0:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12  3:44 [PATCH] null_blk: cleanup zoned mode initialization Damien Le Moal
2021-01-12  6:14 ` Chaitanya Kulkarni
2021-01-27  1:09 ` Damien Le Moal
2021-01-29  0:06 ` Damien Le Moal
2021-01-29  0:10 ` Jens Axboe [this message]
2021-01-29  0:11   ` Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75908f7e-7d30-4e90-c187-c473a14f0f2a@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=damien.lemoal@wdc.com \
    --cc=linux-block@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox