formatting
This commit is contained in:
parent
b61bf36c55
commit
29faf5bb06
14
sumo.c
14
sumo.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user