fix warnings

This commit is contained in:
NAKAMURA Gou
2013-06-06 11:13:32 +09:00
parent 50fc6b03ea
commit fbd33470e7
2 changed files with 11 additions and 0 deletions

7
.gitignore vendored
View File

@@ -14,3 +14,10 @@ elfboot/elfboot_test
linux/executer/mcexec linux/executer/mcexec
linux/mod_test* linux/mod_test*
linux/target linux/target
Makefile
boot-attached-mic.sh
config.log
config.status
/executer/user/mcexec
/kernel/build

View File

@@ -115,6 +115,9 @@ static void send_syscall(struct syscall_request *req, int cpu, int pid)
{ {
struct ikc_scd_packet packet; struct ikc_scd_packet packet;
struct syscall_response *res; struct syscall_response *res;
#ifdef USE_DMA
unsigned long fin;
#endif
struct syscall_params *scp; struct syscall_params *scp;
struct ihk_ikc_channel_desc *syscall_channel; struct ihk_ikc_channel_desc *syscall_channel;
int ret; int ret;
@@ -1655,6 +1658,7 @@ SYSCALL_DECLARE(rt_sigqueueinfo)
siginfo_t *info = (siginfo_t *)ihk_mc_syscall_arg2(ctx); siginfo_t *info = (siginfo_t *)ihk_mc_syscall_arg2(ctx);
siginfo_t winfo; siginfo_t winfo;
if (0) kprintf("sys_rt_sigqueueinfo(%d,%d,%p)\n", pid, sig, info);
if(copy_from_user(proc, &winfo, info, sizeof winfo)) if(copy_from_user(proc, &winfo, info, sizeof winfo))
return -EFAULT; return -EFAULT;