[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 5/5] atapi: GESN: implement 'media' subcomman
From: |
Jes Sorensen |
Subject: |
Re: [Qemu-devel] [PATCH v4 5/5] atapi: GESN: implement 'media' subcommand |
Date: |
Tue, 12 Apr 2011 17:13:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
On 04/12/11 17:13, Kevin Wolf wrote:
> Am 12.04.2011 17:03, schrieb Jes Sorensen:
>> Shouldn't you verify that you don't exceed max_len in this?
>
> Not necessary (the buffer is always 2048 bytes), but it looks like the
> max_len parameter is unused now, so it could be removed.
>
> Kevin
That works fine too - I just didn't like having a length and then having
it ignored completely.
Cheers,
Jes