Re: CVS commit: src/sys/compat/linux/arch

2017-01-03 Thread Ryo ONODERA
From: m...@netbsd.org (Emmanuel Dreyfus), Date: Tue, 3 Jan 2017 02:30:17 +0100

> Ryo ONODERA  wrote:
> 
>> This commit breaks my kernel build.
>> It seems that this commit does not fit with -current's format.
>> Could you regenerate these files again?
> 
> What error do you get?

Here is typical errors. Anyway these are fixed already.
Thank you.

/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1088:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 503 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^
/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1090:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 504 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^
/usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:1092:6: error: missing initi
alizer for field 'sy_entry' of 'struct sysent' [-Werror=missing-field-initialize
rs]
  linux_sys_nosys },   /* 505 = filler */
  ^
In file included from /usr/src/sys/sys/timevar.h:66:0,
 from /usr/src/sys/sys/time.h:296,
 from /usr/src/sys/sys/param.h:145,
 from /usr/src/sys/compat/linux/arch/amd64/linux_sysent.c:18:
/usr/src/sys/sys/systm.h:125:11: note: 'sy_entry' declared here
  uint32_t sy_entry; /* DTrace entry ID for systrace. */
   ^


> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> m...@netbsd.org

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA  wrote:

> This commit breaks my kernel build.
> It seems that this commit does not fit with -current's format.
> Could you regenerate these files again?

I was running a build to reproduce the problem, when I noticed martin@
fixed it.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Emmanuel Dreyfus
Ryo ONODERA  wrote:

> This commit breaks my kernel build.
> It seems that this commit does not fit with -current's format.
> Could you regenerate these files again?

What error do you get?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org


Re: CVS commit: src/sys/compat/linux/arch

2017-01-02 Thread Ryo ONODERA
Hi,

This commit breaks my kernel build.
It seems that this commit does not fit with -current's format.
Could you regenerate these files again?

Thank you.

From: "Emmanuel Dreyfus" , Date: Mon, 2 Jan 2017 16:32:39 +

> Module Name:  src
> Committed By: manu
> Date: Mon Jan  2 16:32:39 UTC 2017
> 
> Modified Files:
>   src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
>   src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
>   linux_syscalls.c linux_sysent.c
> 
> Log Message:
> Regen
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.99 -r1.100 src/sys/compat/linux/arch/alpha/linux_syscall.h \
> src/sys/compat/linux/arch/alpha/linux_sysent.c
> cvs rdiff -u -r1.98 -r1.99 \
> src/sys/compat/linux/arch/alpha/linux_syscallargs.h
> cvs rdiff -u -r1.100 -r1.101 src/sys/compat/linux/arch/alpha/linux_syscalls.c
> cvs rdiff -u -r1.60 -r1.61 src/sys/compat/linux/arch/amd64/linux_syscall.h \
> src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
> src/sys/compat/linux/arch/amd64/linux_syscalls.c \
> src/sys/compat/linux/arch/amd64/linux_sysent.c
> cvs rdiff -u -r1.69 -r1.70 src/sys/compat/linux/arch/arm/linux_syscall.h \
> src/sys/compat/linux/arch/arm/linux_syscallargs.h \
> src/sys/compat/linux/arch/arm/linux_syscalls.c \
> src/sys/compat/linux/arch/arm/linux_sysent.c
> cvs rdiff -u -r1.108 -r1.109 src/sys/compat/linux/arch/i386/linux_syscall.h \
> src/sys/compat/linux/arch/i386/linux_syscallargs.h \
> src/sys/compat/linux/arch/i386/linux_sysent.c
> cvs rdiff -u -r1.109 -r1.110 src/sys/compat/linux/arch/i386/linux_syscalls.c
> cvs rdiff -u -r1.98 -r1.99 src/sys/compat/linux/arch/m68k/linux_syscall.h \
> src/sys/compat/linux/arch/m68k/linux_syscalls.c \
> src/sys/compat/linux/arch/m68k/linux_sysent.c
> cvs rdiff -u -r1.97 -r1.98 src/sys/compat/linux/arch/m68k/linux_syscallargs.h
> cvs rdiff -u -r1.67 -r1.68 src/sys/compat/linux/arch/mips/linux_syscall.h
> cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/arch/mips/linux_syscallargs.h 
> \
> src/sys/compat/linux/arch/mips/linux_syscalls.c \
> src/sys/compat/linux/arch/mips/linux_sysent.c
> cvs rdiff -u -r1.76 -r1.77 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
> src/sys/compat/linux/arch/powerpc/linux_sysent.c
> cvs rdiff -u -r1.75 -r1.76 \
> src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
> src/sys/compat/linux/arch/powerpc/linux_syscalls.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

--
Ryo ONODERA // ryo...@yk.rim.or.jp
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Christos Zoulas
On Sep 26,  6:13pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Can you tell me where 'error' is initialized?

line 145?

christos


Re: CVS commit: src/sys/compat/linux/arch/i386

2014-09-26 Thread Christos Zoulas
On Sep 26,  8:17pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| No. You committed this:
| 
|   if ((t = proc_find(SCARG(uap, pid))) == NULL) {
|   mutex_exit(proc_lock);
| - return ESRCH;
| + goto out;
|   }

That is a bug! I'll fix it.

christos