Skip to content

UBI: massage for fastmap

Artem Bityutskiy linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22UBI: rename struct ubi_scan_lebdrivers/mtd/ubi/build.c drivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h +5 more+37 -370 replies
2/22UBI: rename struct ubi_scan_volumedrivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h drivers/mtd/ubi/eba.c +4 more+34 -340 replies
3/22UBI: rename struct ubi_scan_infodrivers/mtd/ubi/build.c drivers/mtd/ubi/eba.c drivers/mtd/ubi/scan.c +4 more+44 -420 replies
4/22UBI: amend comments after renaming in scan.cdrivers/mtd/ubi/scan.h+11 -100 replies
5/22UBI: rename seb to aebdrivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h drivers/mtd/ubi/eba.c +4 more+196 -1960 replies
6/22UBI: rename si to aidrivers/mtd/ubi/build.c drivers/mtd/ubi/debug.c drivers/mtd/ubi/eba.c +5 more+260 -2600 replies
7/22UBI: rename sv to avdrivers/mtd/ubi/debug.c drivers/mtd/ubi/debug.h drivers/mtd/ubi/eba.c +4 more+182 -1820 replies
8/22UBI: make ubi_scan_erase_peb static and renamedrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+4 -60 replies
9/22UBI: remove unused functiondrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+0 -310 replies
10/22UBI: rename ubi_scan_add_useddrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h drivers/mtd/ubi/vtbl.c+9 -120 replies
11/22UBI: rename ubi_scan_find_avdrivers/mtd/ubi/eba.c drivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h +1 more+9 -90 replies
12/22UBI: rename ubi_scan_rm_volumedrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h drivers/mtd/ubi/vtbl.c+5 -50 replies
13/22UBI: rename ubi_scan_get_free_pebdrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h drivers/mtd/ubi/vtbl.c+6 -60 replies
14/22UBI: rename ubi_scan_destroy_aidrivers/mtd/ubi/build.c drivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+6 -60 replies
15/22UBI: rename ubi_scan_move_to_listdrivers/mtd/ubi/eba.c drivers/mtd/ubi/scan.h+3 -30 replies
16/22UBI: rename ubi_scan_leb_slabdrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+16 -160 replies
17/22UBI: amend comments after all the renamingsdrivers/mtd/ubi/build.c drivers/mtd/ubi/io.c drivers/mtd/ubi/scan.c +3 more+73 -810 replies
18/22UBI: rename _init_scan functionsdrivers/mtd/ubi/build.c drivers/mtd/ubi/eba.c drivers/mtd/ubi/ubi.h +1 more+9 -90 replies
19/22UBI: move and rename attach_by_scanningdrivers/mtd/ubi/build.c drivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h +1 more+58 -620 replies
20/22UBI: rename UBI_SCAN_UNKNOWN_ECdrivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h+15 -120 replies
21/22UBI: remove scan.hdrivers/mtd/ubi/scan.h drivers/mtd/ubi/ubi.h+147 -1740 replies
22/22UBI: rename scan.c to attach.cdrivers/mtd/ubi/Makefile drivers/mtd/ubi/attach.c drivers/mtd/ubi/scan.c+1616 -16160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/22] UBI: massage for fastmap

Hi,

thise patch-set massively re-names things in UBI and prepares to code for the fastmap work. Turns scan.c into attach.c, removes word "scan" from all the functions and data-structures which will presumably be used in fastmap.

Richard, by going through the commit messages you should get the idea what to re-name in your patches to make them match the new style. For functions it is easy - your code won't compile unless you rename. For variable names (e.g., si -> ai, seb -> aeb, etc) you'll need to just do the same I do in this patch-set.

Artem.