Messages in this thread | | | Subject | Re: Cannot mount multi-session DVD with ide-cd, must use ide-scsi | Date | Fri, 17 Dec 2004 14:53:19 -0600 | From | Doug Maxey <> |
| |
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/
| |