Skip to content

Commit

Permalink
Gratuitous style bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdjhb committed Mar 25, 2024
1 parent 29491a2 commit 271e841
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sys/kern/kern_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,14 +1074,14 @@ exec_map_first_page(struct image_params *imgp)
if (object == NULL)
return (EACCES);
#if VM_NRESERVLEVEL > 0
if ((object->flags & OBJ_COLORED) == 0) {
if ((object->flags & OBJ_COLORED) == 0)

Check failure on line 1077 in sys/kern/kern_exec.c

View workflow job for this annotation

GitHub Actions / Style Checker

that open brace { should be on the previous line
{
VM_OBJECT_WLOCK(object);
vm_object_color(object, 0);
vm_object_color(object, 0);
VM_OBJECT_WUNLOCK(object);
}
#endif
error = vm_page_grab_valid_unlocked(&m, object, 0,
VM_ALLOC_COUNT(VM_INITIAL_PAGEIN) |
error = vm_page_grab_valid_unlocked(&m, object, 0, VM_ALLOC_COUNT(VM_INITIAL_PAGEIN) |

Check warning on line 1084 in sys/kern/kern_exec.c

View workflow job for this annotation

GitHub Actions / Style Checker

line over 80 characters
VM_ALLOC_NORMAL | VM_ALLOC_NOBUSY | VM_ALLOC_WIRED);

if (error != VM_PAGER_OK)
Expand Down Expand Up @@ -2380,12 +2380,12 @@ core_output_memtag_cheri(char * __capability base, size_t mem_len,
int
sbuf_drain_core_output(void *arg, const char *data, int len)
{
struct coredump_params *cp;
struct proc *p;
int error, locked;
struct coredump_params *cp;
struct proc *p;
int error, locked;

cp = arg;
p = cp->td->td_proc;
cp = arg;
p = cp->td->td_proc;

/*
* Some kern_proc out routines that print to this sbuf may
Expand Down

0 comments on commit 271e841

Please sign in to comment.