summaryrefslogtreecommitdiff
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorJoshua Hahn <joshua.hahnjy@gmail.com>2026-01-16 22:27:16 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-02-01 01:22:39 +0300
commit824b8c96c421e677cf0fe6f69939ff0082665a34 (patch)
treeda187f9441f990a1af4c7bce3007670259f08db3 /include/linux/parser.h
parenta1c655f554441561bf4b256dc75d977a1433753c (diff)
downloadlinux-824b8c96c421e677cf0fe6f69939ff0082665a34.tar.xz
mm/hugetlb: enforce brace style
Documentation/process/coding-style.rst explicitly notes that if only one branch of a conditional statement is a single statement, braces should be used in both branches. Enforce this in mm/hugetlb.c. While add it, fix the indentation for vma_end_reservation. No functional change intended. Link: https://lkml.kernel.org/r/20260116192717.1600049-2-joshua.hahnjy@gmail.com Signed-off-by: Joshua Hahn <joshua.hahnjy@gmail.com> Acked-by: David Hildenbrand (Red Hat) <david@kernel.org> Reviewed-by: SeongJae Park <sj@kernel.org> Cc: Muchun Song <muchun.song@linux.dev> Cc: Oscar Salvador <osalvador@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/parser.h')
0 files changed, 0 insertions, 0 deletions