10 Jan, 2012

11 commits


21 Sep, 2011

1 commit


11 Sep, 2011

2 commits


15 Aug, 2011

1 commit


25 May, 2011

1 commit


01 Apr, 2011

1 commit

  • The number is actually a sizeof(), so using %zu for it builds
    cleanly on 32-bit or 64-bit.

    drivers/mtd/mtdswap.c:1456: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Artem Bityutskiy

    Randy Dunlap
     

25 Mar, 2011

2 commits

  • Fix the following compilation warning:

    drivers/mtd/mtdswap.c: In function ‘mtdswap_pick_gc_eblk’:
    drivers/mtd/mtdswap.c:859: warning: ‘idx’ may be used uninitialized in this function
    drivers/mtd/mtdswap.c:859: note: ‘idx’ was declared here

    Initialize idx to -1 because this value means "no tree choosen".

    Signed-off-by: Artem Bityutskiy

    Artem Bityutskiy
     
  • As Artem Bityutskiy suggested: this option is controversial, as we
    do not really have any prove it is useful. And it is too much to have
    it as a config parameter. So, better kill it and let the real mtdswap
    users decide whether it is needed or not.

    Signed-off-by: Yang Ruirui
    Signed-off-by: Artem Bityutskiy

    Yang Ruirui
     

11 Mar, 2011

2 commits