2009-06-09 06:34:53

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: manual merge of the block tree with the ide tree

Hi Jens,

Today's linux-next merge of the block tree got a conflict in
drivers/ide/ide-tape.c between various commits from the ide tree and
various commits from the block tree.

I fixed it up as best I could (see below).
--
Cheers,
Stephen Rothwell [email protected]

diff --cc drivers/ide/ide-tape.c
index 51ea59e,683ff37..0000000
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@@ -610,8 -617,8 +628,8 @@@ static ide_startstop_t idetape_do_reque
struct ide_cmd cmd;
u8 stat;

- debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %lu\n",
- (unsigned long long)rq->sector, rq->nr_sectors);
- debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n"
++ debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n",
+ (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq));

if (!(blk_special_request(rq) || blk_sense_request(rq))) {
/* We do not support buffer cache originated requests. */


Attachments:
(No filename) (939.00 B)
(No filename) (197.00 B)
Download all attachments

2009-06-09 07:57:18

by Borislav Petkov

[permalink] [raw]
Subject: Re: linux-next: manual merge of the block tree with the ide tree

On Tue, Jun 09, 2009 at 04:34:05PM +1000, Stephen Rothwell wrote:
> Hi Jens,
>
> Today's linux-next merge of the block tree got a conflict in
> drivers/ide/ide-tape.c between various commits from the ide tree and
> various commits from the block tree.
>
> I fixed it up as best I could (see below).

Yep, looks good. Thanks.

> --
> Cheers,
> Stephen Rothwell [email protected]
>
> diff --cc drivers/ide/ide-tape.c
> index 51ea59e,683ff37..0000000
> --- a/drivers/ide/ide-tape.c
> +++ b/drivers/ide/ide-tape.c
> @@@ -610,8 -617,8 +628,8 @@@ static ide_startstop_t idetape_do_reque
> struct ide_cmd cmd;
> u8 stat;
>
> - debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %lu\n",
> - (unsigned long long)rq->sector, rq->nr_sectors);
> - debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n"
> ++ debug_log(DBG_SENSE, "sector: %llu, nr_sectors: %u\n",
> + (unsigned long long)blk_rq_pos(rq), blk_rq_sectors(rq));
>
> if (!(blk_special_request(rq) || blk_sense_request(rq))) {
> /* We do not support buffer cache originated requests. */



--
Regards/Gruss,
Boris.