lkml.org 
[lkml]   [2010]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544)
    On 11/02/2010 08:57 AM, Matti J. Aaltonen wrote:
    > On Mon, 2010-11-01 at 11:00 -0700, ext Randy Dunlap wrote:
    >> Use %zd to print ssize_t variables and %zu to print size_t:
    >>
    >> drivers/nfc/pn544.c:332: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
    >> drivers/nfc/pn544.c:442: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
    >
    > Thanks, I'll do that... I'm using Sparse and checkpatch --strict but
    > neither gave me a warning about that.

    You would need a 64bit compiler to emit that for size_t.

    regards,
    --
    js
    suse labs


    \
     
     \ /
      Last update: 2010-11-04 15:29    [W:0.040 / U:60.704 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site