Skip to content

Commit 52260a9

Browse files
committed
clang-format
1 parent 598feea commit 52260a9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

tests/test_engine.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,8 @@ static void test_x86_64_po_from_vmemmap_pinned_l5(void) {
17341734
engine_run(&e, rules, 2);
17351735

17361736
/* L5 subtraction; equals po_l5 + slack. (The L4 value the rule emits on the
1737-
* first, un-pinned pass is ~12768 TiB larger, so this value is uniquely L5.) */
1737+
* first, un-pinned pass is ~12768 TiB larger, so this value is uniquely L5.)
1738+
*/
17381739
unsigned long expect_l5 =
17391740
mm_witness - vmalloc_size_l5 - directmap_size - 2ul * pud;
17401741

@@ -1760,7 +1761,8 @@ static void test_x86_64_po_from_vmemmap_pinned_l5(void) {
17601761
* (at/above the L4 VAS floor). The `< X86_64_L4_VAS_START` condition must keep
17611762
* the rule on L4 — committing to the tighter L5 subtraction here would push the
17621763
* upper bound far below the truth. The soundness assertion (every emitted bound
1763-
* >= the pinned truth) fails iff the territory check is dropped and L5 is used. */
1764+
* >= the pinned truth) fails if the territory check is dropped and L5 is used.
1765+
*/
17641766
static void test_x86_64_po_from_vmemmap_pinned_l4_keeps_l4(void) {
17651767
#if defined(__x86_64__)
17661768
struct engine e;
@@ -2586,7 +2588,7 @@ static void add_directmap(struct engine *e, unsigned long addr) {
25862588
evidence_add(&e->ev, &o);
25872589
}
25882590

2589-
/* True iff the finite-set estimate holds exactly the single candidate `value`.
2591+
/* True if the finite-set estimate holds exactly the single candidate `value`.
25902592
*/
25912593
static int finset_is(const struct estimate *est, unsigned long value) {
25922594
const struct quantity_def *qd = &quantities[Q_VA_BITS];

0 commit comments

Comments
 (0)