lkml.org 
[lkml]   [2014]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/7] debugfs: Fix misuse of seq_printf return value
    On Mon, Sep 29, 2014 at 04:08:26PM -0700, Joe Perches wrote:
    > Adding repeated -1 to the return is not correct.
    >
    > Use seq_is_full to test for unnecessary seq_printf uses
    > and always return 0.
    >
    > Signed-off-by: Joe Perches <joe@perches.com>

    Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>


    \
     
     \ /
      Last update: 2014-11-07 20:41    [W:4.766 / U:0.128 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site