From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] null_blk: use sector_div instead of do_div
Date: Wed, 13 Jan 2016 22:46:30 +0100 [thread overview]
Message-ID: <4333086.QZV0XpURJu@wuerfel> (raw)
In-Reply-To: <5665391.6n2Zq774pT@wuerfel>
On Friday 18 December 2015 17:13:40 Arnd Bergmann wrote:
> On Saturday 28 November 2015 09:05:56 Matias Bj?rling wrote:
> >
> > I had my head around the original code and kept references to the device
> > layout I had in mind. 256 being number of pages in a block, and the 2^16
> > being number of blocks in a lun and wanted to communicate that part..
> > which led to producing silly code in the mean time.
> >
> > Similarly, the bs is always fixed to 4k for lightnvm, until other bs
> > sizes are supported. We could optimize it out, I left it in for the same
> > reasons.
>
> I still see the build warning in linux-next, can you merge your patch?
The merge window is open now, the bug persists in linux-next. I'm
submitting Matias version now.
Arnd
next prev parent reply other threads:[~2016-01-13 21:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-27 13:49 [PATCH] null_blk: use sector_div instead of do_div Arnd Bergmann
2015-11-27 18:07 ` Linus Torvalds
2015-11-27 21:31 ` Arnd Bergmann
2015-11-28 8:05 ` Matias Bjørling
2015-12-18 16:13 ` Arnd Bergmann
2016-01-13 21:46 ` Arnd Bergmann [this message]
2015-11-30 21:49 ` Jens Axboe
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=4333086.QZV0XpURJu@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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