lkml.org 
[lkml]   [2005]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [3/8] kill gen_init_cpio.c printk() of size_t warning
    On Mon, Jan 03, 2005 at 12:59:55PM -0500, Jeff Garzik wrote:
    > This removes whitespace in the process, violating the file's chosen
    > style (and typical lkml style).

    I have no personal interest in the whitespace involved. The following
    amended patch is likely to avoid inconsistencies with the rest of the
    file regarding whitespace.


    -- wli


    Index: mm1-2.6.10/usr/gen_init_cpio.c
    ===================================================================
    --- mm1-2.6.10.orig/usr/gen_init_cpio.c 2005-01-03 06:45:53.000000000 -0800
    +++ mm1-2.6.10/usr/gen_init_cpio.c 2005-01-03 09:42:18.000000000 -0800
    @@ -112,7 +112,7 @@
    (long) gid, /* gid */
    1, /* nlink */
    (long) mtime, /* mtime */
    - strlen(target) + 1, /* filesize */
    + (unsigned)strlen(target) + 1,/* filesize */
    3, /* major */
    1, /* minor */
    0, /* rmajor */
    -
    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/
    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:2.608 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site