mirror of
https://github.com/dynup/kpatch
synced 2024-12-21 20:59:57 +00:00
13e03de0d4
make check using shellcheck version 0.6.0 suggests following improvements: In kpatch/kpatch line 160: if [[ ! -z "$checksum" ]] && [[ -e "$SYSFS/${modname}/checksum"]] ; then ^-- SC2236: Use -n instead of ! -z. In kpatch-build/kpatch-build line 953: [[ ! -z "$UNDEFINED" ]] && die "Undefined symbols: $UNDEFINED" ^-- SC2236: Use -n instead of ! -z. '-n' and '! -z' are used interchangeably across the scripts, let's use '-n' consistently to check a non-empty string instead of using negation. Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-gcc | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h | ||
Makefile |