[lkml]   [2011]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] percpu: cast away printk format warning
    On Tue, Mar 22, 2011 at 17:17, Mike Frysinger wrote:
    > On Tue, Mar 22, 2011 at 17:03, Christoph Lameter <wrote:
    >> On Tue, 22 Mar 2011, Mike Frysinger wrote:
    >>> So add an explicit cast to unsigned long here.
    >> I believe we have a format character %t to avoid the cast.
    > thanks, i wasnt aware of the ptrdiff_t extension.  i'll send out an update.

    actually, that doesnt work. ptrdiff_t is a type unto itself. in
    order for this to work, every arch would need to cast/type
    VMALLOC_{START,END} to a pointer type so that they could then be
    subtracted. or, add a ptrdiff_t cast to this file ;).
    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: 2011-03-22 23:23    [W:0.019 / U:65.668 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site