lkml.org 
[lkml]   [2007]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.21-rc4-mm1
    On Wed, 28 Mar 2007 03:26:35 +0200,
    Eric Rannaud <eric.rannaud@gmail.com> wrote:

    > The reason for that original patch was that it is actually possible for the
    > uevent functions to return -ENOMEM, the uevent buffer being statically
    > allocated to BUFFER_SIZE (2048).

    So maybe -ENOMEM should still be propagated? We just don't want to fail
    device_add because of it.

    > It used to be 1024 but that was not
    > always enough and it was doubled a while ago [1]. Using add_uevent_var()
    > makes this less of a problem as such an overflow should be catched
    > cleanly [2].

    Reminds me that I need to look into ccw_uevent :)
    -
    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: 2007-03-28 10:25    [W:3.885 / U:0.780 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site