From: Sergey Senozhatsky <sergey.senozhatsky@mail.by>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org
Subject: blk-settings.c integer truncation
Date: Fri, 19 Jun 2009 12:20:02 +0300 [thread overview]
Message-ID: <20090619092002.GB3222@localdomain.by> (raw)
Hello.
I was asking
> Should BLK_BOUNCE_ANY be (-1UL)?
No. It should not.
git annotate gives for blkdev.h:
Andi Kleen 2008-04-21 09:51:05 +0200 705)#define BLK_BOUNCE_ANY (-1ULL)
...
...
(Martin K. Petersen 2009-05-22 17:17:51 -0400 311) unsigned long bounce_pfn;
...
(Martin K. Petersen 2009-05-22 17:17:50 -0400 1020)static inline unsigned long queue_bounce_pfn(struct request_queue *q)
(Martin K. Petersen 2009-05-22 17:17:50 -0400 1021){
(Martin K. Petersen 2009-05-22 17:17:51 -0400 1022) return q->limits.bounce_pfn;
(Martin K. Petersen 2009-05-22 17:17:50 -0400 1023)}
...
I think, commit need to be reworked a bit.
Sergey
next reply other threads:[~2009-06-19 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 9:20 Sergey Senozhatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-19 9:04 Sergey Senozhatsky
2009-06-19 14:24 ` Martin K. Petersen
2009-06-19 14:40 ` Sergey Senozhatsky
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=20090619092002.GB3222@localdomain.by \
--to=sergey.senozhatsky@mail.by \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/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
all inboxes | Powered by JetHome®