formatting

This commit is contained in:
Andriy Petrov 2024-04-25 21:56:30 +02:00
parent b61bf36c55
commit 29faf5bb06

14
sumo.c
View File

@ -107,14 +107,14 @@ ssize_t proc_pid_write(struct file *file, const char __user *buffer,
*ppos = count;
ret = kstrtoull_from_user(buffer, count, 10, &pid);
if (ret) {
pr_err(MTAG "read PID failed %d\n", ret);
return count;
}
ret = kstrtoull_from_user(buffer, count, 10, &pid);
if (ret) {
pr_err(MTAG "read PID failed %d\n", ret);
return count;
}
pr_info(MTAG "Got PID %llu\n", pid);
*ppos = count;
pr_info(MTAG "Got PID %llu\n", pid);
*ppos = count;
pid_struct = find_get_pid(pid);
if (pid_struct == NULL) {