summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPetr Vorel <pvorel@suse.cz>2026-08-10 18:11:59 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-08-27 22:50:03 -0700
commit3113bff8a8a36dd257b681cf5a72f8067d72efaf (patch)
treef5138ee410cd5d5dca6b4ea4eeb59e2b4e4b6508 /scripts/objdiff
parentd1a0b8c9f068d5e9b5cd65993dd2bec0ef0101cc (diff)
downloadlinux-next-3113bff8a8a36dd257b681cf5a72f8067d72efaf.tar.gz
linux-next-3113bff8a8a36dd257b681cf5a72f8067d72efaf.zip
checkpatch: skip CamelCase cache for --no-tree without root
Running outside tree (--no-tree) without git root (--root DIR) is not doable because we have no include/ directory which could be cached. But 3445686af721 expected that we are always in Linux tree (w/a git). But --no-tree does not require --root. Therefore skip whole caching in that case. This fixes perl and find errors when running checkpatch.pl *with* --no-tree --strict and *without* --root: No structs that should be const will be found - file 'scripts/const_structs.checkpatch': No such file or directory Use of uninitialized value $root in concatenation (.) or string at scripts/checkpatch.pl line 1213. find: `/include': No such file or directory Link: https://lore.kernel.org/20260810161159.1044160-1-pvorel@suse.cz Fixes: 3445686af721 ("checkpatch: ignore existing CamelCase uses from include/...") Signed-off-by: Petr Vorel <pvorel@suse.cz> Cc: Andy Whitcroft <apw@canonical.com> Cc: Dwaipayan Ray <dwaipayanray1@gmail.com> Cc: Joe Perches <joe@perches.com> Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions