Skip to content

Commit 5838eaa

Browse files
committed
fix clang format errors
1 parent 4176ec8 commit 5838eaa

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/iso_alloc_ds.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ typedef struct {
130130
* that holds a specific size in O(1) time */
131131
zone_lookup_table_t zone_lookup_table[ZONE_LOOKUP_TABLE_SZ];
132132
/* For chunk sizes >= 1024 our bitmap size is smaller
133-
* than a page. This optimization preallocates pages to
134-
* hold multiple bitmaps for these zones */
133+
* than a page. This optimization preallocates pages to
134+
* hold multiple bitmaps for these zones */
135135
iso_alloc_bitmap_t bitmaps[sizeof(small_bitmap_sizes) / sizeof(int)];
136136
uint64_t zone_handle_mask;
137137
uint64_t big_zone_next_mask;

src/iso_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ INTERNAL_HIDDEN iso_alloc_zone_t *is_zone_usable(iso_alloc_zone_t *zone, size_t
813813
* chunks smaller than ZONE_1024 */
814814
if(size > ZONE_1024 && zone->chunk_size >= (size << WASTED_SZ_MULTIPLIER_SHIFT)) {
815815
return NULL;
816-
}
816+
}
817817
if(size <= ZONE_1024 && zone->chunk_size > ZONE_1024) {
818818
return NULL;
819819
}

src/iso_alloc_mte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/* The majority of this code is adapted from Scudos implementation
77
* of ARM MTE support. That code can be found here:
8-
* https://android.googlesource.com/platform/external/scudo/+/refs/tags/android-14.0.0_r1/standalone/
8+
* https://android.googlesource.com/platform/external/scudo/+/refs/tags/android-14.0.0_r1/standalone/
99
* Its license (The LLVM Project is under the Apache License v2.0 with LLVM Exceptions) can be found here
1010
* https://android.googlesource.com/platform/external/scudo/+/refs/tags/android-14.0.0_r1/LICENSE.TXT */
1111

0 commit comments

Comments
 (0)