[lkml]   [2001]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Small kernel-api addition
    Date said:
    + * This macro should be used for accessing values larger in size than single
    + * bytes at locations that may be improperly aligned, e.g. retrieving a u16
    + * value from a location not u16-aligned.

    I'd suggest s/that may be/that are expected to be/

    If it's _expected_, then by all means use {get,put}_unaligned(). If it's
    normally going to be aligned, and it _may_ occasionally be otherwise, let
    the common case go fast, and let the fixup handle it otherwise.


    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: 2005-03-22 13:17    [W:0.026 / U:3.156 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site