30 Dec, 2014

1 commit

  • Update descriptions of seq_path() and seq_path_root():
    starting with commit v3.2-rc4-1-g02125a8, seq_path_root() no longer
    changes the value of root;
    starting with commit v3.2-rc7-104-g8c9379e, some arguments of seq_path()
    and seq_path_root() are const.

    Signed-off-by: Dmitry V. Levin
    Acked-by: Rob Landley
    Signed-off-by: Jonathan Corbet

    Dmitry V. Levin
     

30 Oct, 2014

1 commit

  • The return values of seq_printf/puts/putc are frequently misused.

    Start down a path to remove all the return value uses of these
    functions.

    Move the seq_overflow() to a global inlined function called
    seq_has_overflowed() that can be used by the users of seq_file() calls.

    Update the documentation to not show return types for seq_printf
    et al. Add a description of seq_has_overflowed().

    Link: http://lkml.kernel.org/p/848ac7e3d1c31cddf638a8526fa3c59fa6fdeb8a.1412031505.git.joe@perches.com

    Cc: Al Viro
    Signed-off-by: Joe Perches
    [ Reworked the original patch from Joe ]
    Signed-off-by: Steven Rostedt

    Joe Perches
     

08 Sep, 2014

1 commit

  • Despite the fact that these functions have been around for years, they
    are little used (only 15 uses in 13 files at the preseht time) even
    though many other files use work-arounds to achieve the same result.

    By documenting them, hopefully they will become more widely used.

    Signed-off-by: Rob Jones
    Acked-by: Steven Whitehouse
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Rob Jones
     

07 Jun, 2014

1 commit


16 Dec, 2009

1 commit


11 Sep, 2009

1 commit


26 Apr, 2008

1 commit


25 Apr, 2008

1 commit


16 Apr, 2008

1 commit


31 Mar, 2008

2 commits

  • On Friday 2008-03-28 19:20, Jonathan Corbet wrote:
    >commit 9756ccfda31b4c4544aa010aacf71b6672d668e8
    >Date: Fri Mar 28 11:19:56 2008 -0600
    >
    > Add the seq_file documentation

    patch on top:

    - add const qualifiers
    - remove void* casts
    - use proper specifier (%Ld is not valid)

    Signed-off-by: Jonathan Corbet
    Signed-off-by: Jan Engelhardt

    Jan Engelhardt
     
  • This is an updated version of the document describing the seq_file
    interface.

    Signed-off-by: Jonathan Corbet

    Jonathan Corbet