summaryrefslogtreecommitdiffstats
path: root/crypto/xts.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-05-09 10:18:49 -0300
committerJonathan Corbet <corbet@lwn.net>2018-05-10 15:42:43 -0600
commitd26560950b6ba6454c11cd978d3e6bb4d38430e8 (patch)
tree42c6462dd3710e16f07b6f3a05c62cbc1a8e2832 /crypto/xts.c
parent02a43659e15893a6611cfc10dc7aae1746eb0cdc (diff)
downloadlinux-d26560950b6ba6454c11cd978d3e6bb4d38430e8.tar.gz
linux-d26560950b6ba6454c11cd978d3e6bb4d38430e8.tar.bz2
linux-d26560950b6ba6454c11cd978d3e6bb4d38430e8.zip
scripts/documentation-file-ref-check: rewrite it in perl with auto-fix mode
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 <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions