[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] NVMe: Fix compilation on architecturs without readq/writeq
    On Mon, Jan 30, 2012 at 7:03 PM, Linus Torvalds
    <> wrote:
    >  val |= readl(addr+4) << 32;

    Oops. That needs a cast to u64 before the shift, of course.

    Take all code I write in emails with a pinch of salt - think of it
    more as pseudo-code than something that necessarily would work as-is.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2012-01-31 04:07    [W:0.020 / U:20.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site