[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49F828F4.10405@kernel.org>
Date: Wed, 29 Apr 2009 19:16:20 +0900
From: Tejun Heo <tj@...nel.org>
To: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
CC: axboe@...nel.dk,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
linux-scsi@...r.kernel.org, jeff@...zik.org,
linux-ide@...r.kernel.org,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
bzolnier@...il.com, petkovbb@...glemail.com,
sshtylyov@...mvista.com, mike.miller@...com,
chirag.kantharia@...com, Eric.Moore@....com,
stern@...land.harvard.edu, fujita.tomonori@....ntt.co.jp,
zaitcev@...hat.com, sfr@...b.auug.org.au,
grant.likely@...retlab.ca, paul.clements@...eleye.com,
jesper.juhl@...il.com, tim@...erelk.net, jeremy@...source.com,
adrian@...en.demon.co.uk, oakad@...oo.com,
David Woodhouse <dwmw2@...radead.org>, schwidefsky@...ibm.com,
ballabio_dario@....com, "David S. Miller" <davem@...emloft.net>,
Paul Russell <rusty@...tcorp.com.au>,
Markus.Lidel@...dowconnect.com, bharrosh@...asas.com
Subject: Re: [PATCH 04/10] block: implement blk_rq_pos/[cur_]sectors() and
convert obvious ones
>> +static inline sector_t blk_rq_pos(struct request *rq)
> ^
> const?
>> +{
>> + return rq->hard_sector;
>> +}
>> +
>> extern unsigned int blk_rq_bytes(struct request *rq);
>> extern unsigned int blk_rq_cur_bytes(struct request *rq);
>>
>> +static inline unsigned int blk_rq_sectors(struct request *rq)
> ^
> const?
>> +{
>> + return rq->hard_nr_sectors;
>> +}
>> +
>> +static inline unsigned int blk_rq_cur_sectors(struct request *rq)
> ^
> const?
>> +{
>> + return rq->hard_cur_sectors;
>> +}
>> +
consts and acked-by added.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists