03 Jul, 2018

2 commits

  • When Documentation/scheduler/sched-pelt.c is compiled, it generates
    a file called Documentation/scheduler/sched-pelt. As this only
    exists after building such tool, we need an explict check
    to remove the false-positive.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • There are several false positives at tcm_mod_builder.txt:

    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_base.h
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../include/target/target_core_fabric_ops.h
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.c
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_fabric.h
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/tcm_nab5000_configfs.c
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kbuild
    Documentation/target/tcm_mod_builder.txt: mnt/sdb/lio-core-2.6.git/Documentation/target/../../drivers/target/tcm_nab5000/Kconfig

    Ignore them.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

16 Jun, 2018

6 commits


11 May, 2018

1 commit

  • The original shell script works, but:
    1) it is too slow;
    2) it is hard to exclude rejex patterns

    Convert it to perl.

    Here, the new version is able to check the entire tree in
    less than a second (after cached):

    real 0m0,284s
    user 0m0,668s
    sys 0m0,778s

    The old version takes more than a minute to complete (also
    after cached):
    real 1m17,905s
    user 0m25,583s
    sys 0m55,334s

    It also produce less false-positives (if any).

    The new script also contains an auto-fix mode.

    Usually, file references get lost when they're moved to some other
    place and/or renamed to .rst.

    Add an experimental mode to auto-fix those.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

13 Oct, 2017

1 commit

  • Add a simple script and build target to do a treewide grep for
    references to files under Documentation, and report the non-existing
    file in stderr. It tries to take into account punctuation not part of
    the filename, and wildcards, but there are bound to be false positives
    too. Mostly seems accurate though.

    We've moved files around enough to make having this worthwhile.

    Signed-off-by: Jani Nikula
    Signed-off-by: Jonathan Corbet

    Jani Nikula