lkml.org 
[lkml]   [2004]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cannot mount multi-session DVD with ide-cd, must use ide-scsi
Date
From

On Fri, 17 Dec 2004 20:28:13 +0100, Jens Axboe wrote:
>On Fri, Dec 17 2004, Doug Maxey wrote:
>>
>> On Fri, 17 Dec 2004 19:33:03 +0100, Kronos wrote:
>> ...
>> > if (stat) return stat;
>> >+
>> >+ toc->last_session_lba = be32_to_cpu(ms_tmp.ent.addr.lba);
>>
>> Should that be le32_to_cpu?
>
>Why? It's read data and that is always big-endian.

after paying closer attention, this is data from the *media*. yup,
that is the correct conversion. :-/

++doug

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.032 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site