Re: [PATCH 09/14] ide-atapi: use local sense buffer

Borislav Petkov
2009-05-12T07:17:55Z

Hi,

On Sun, May 10, 2009 at 11:32:38PM +0200, Bartlomiej Zolnierkiewicz wrote:

[..]

all done, testing...

> > - pc->req_xfer = blk_rq_bytes(sense_rq);
>
> I think that we can remove ->req_xfer now completely, patch #13.5? :)

Well, the trivial thing would be to replace the pc->req_xfer with the
naked number representing the cmd length, which is ugly. I'll think of
something more elegant when merging all those ide_create.*cmd into their
users. As always, I'm open to suggestions, of course :).

--
Regards/Gruss,
Boris.