mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 20:03:16 +01:00
Fixed uninitialized local vars.
This commit is contained in:
@@ -114,7 +114,7 @@ void fault_ipc_to_pager(u32 faulty_pc, u32 fsr, u32 far)
|
||||
*/
|
||||
int pager_pagein_request(unsigned long addr, unsigned long size, unsigned int flags)
|
||||
{
|
||||
u32 abort;
|
||||
u32 abort = 0;
|
||||
unsigned long npages = __pfn(align_up(size, PAGE_SIZE));
|
||||
struct ipc_state ipc_state;
|
||||
|
||||
|
||||
@@ -575,7 +575,7 @@ int process_cap_info(struct cap_info *cap,
|
||||
struct boot_resources *bootres,
|
||||
struct kernel_container *kcont)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
switch (cap->type & CAP_RTYPE_MASK) {
|
||||
case CAP_RTYPE_THREADPOOL:
|
||||
|
||||
Reference in New Issue
Block a user