Re: CVS commit: src/sys/modules/lua

2013-10-22 Thread Alexander Nasonov
Alexander Nasonov wrote: +#define exit(EXIT_FAILURE) return You only need to make a change in one place in ldo.c: @@ -105,7 +110,11 @@ void luaD_throw (lua_State *L, int errco lua_unlock(L); G(L)-panic(L); } +#if defined(_KERNEL) +panic(luaD_throw(), errcode=%d,

Re: CVS commit: src/sys/modules/lua

2013-10-22 Thread Christoph Badura
On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote: We just need to make sure that all entry points to Lua are protected and hope that the above panic will never trigger. Actually, I would prefer if that call to panic wasn't there at all. Instead the script/state should be

Re: CVS commit: src/sys/modules/lua

2013-10-22 Thread Alexander Nasonov
Christoph Badura wrote: On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote: We just need to make sure that all entry points to Lua are protected and hope that the above panic will never trigger. Actually, I would prefer if that call to panic wasn't there at all. Instead the

Re: CVS commit: src/sys/modules/lua

2013-10-22 Thread Marc Balmer
Am 22.10.13 14:24, schrieb Christoph Badura: On Tue, Oct 22, 2013 at 09:25:19AM +0100, Alexander Nasonov wrote: We just need to make sure that all entry points to Lua are protected and hope that the above panic will never trigger. Actually, I would prefer if that call to panic wasn't there

CVS commit: src/sbin/gpt

2013-10-22 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Oct 22 07:30:20 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: In a NetBSD disklabel, p_offset is from the beginning of the disk, not the beginning of the NetBSD partition. To generate a diff of this commit:

CVS commit: src/lib/libc/stdlib

2013-10-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Oct 22 08:08:51 UTC 2013 Modified Files: src/lib/libc/stdlib: jrand48.c lrand48.c mrand48.c nrand48.c Log Message: Reduce amount of casts and make LP64 safe. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:23:34 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Remove daft KASSERTs To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/dwc2/dwc2.c Please note that

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:30:04 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Minor cleanup. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/external/bsd/dwc2/dwc2.c Please note that diffs

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:42:20 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Remove unused usbd_xfer_handle from dwc2_pipe. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 12:57:40 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2var.h Log Message: Remove unused usbd_xfer_handle from dwc2_pipe. (missed commit) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/ic

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 13:04:25 UTC 2013 Modified Files: src/sys/dev/ic: arn5008.c arn9003.c Log Message: Avoid declaration of 'delay' shadows a global declaration by renaming the local variable. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/external/bsd/dwc2/dist

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 16:37:08 UTC 2013 Modified Files: src/sys/external/bsd/dwc2/dist: dwc2_hcd.c Log Message: Be strictly correct about chan-xfer_dma assignment and avoid calling DMAADDR on fully transfered data phase of a control

CVS commit: src/sys/arch/arm/arm

2013-10-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Oct 22 21:37:33 UTC 2013 Modified Files: src/sys/arch/arm/arm: cpu_exec.c Log Message: Read the right register for checking big endianess. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sbin/gpt

2013-10-22 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Oct 22 07:30:20 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: In a NetBSD disklabel, p_offset is from the beginning of the disk, not the beginning of the NetBSD partition. To generate a diff of this commit:

CVS commit: src/lib/libc/stdlib

2013-10-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Oct 22 08:08:51 UTC 2013 Modified Files: src/lib/libc/stdlib: jrand48.c lrand48.c mrand48.c nrand48.c Log Message: Reduce amount of casts and make LP64 safe. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:23:34 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Remove daft KASSERTs To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/external/bsd/dwc2/dwc2.c Please note that

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:30:04 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Minor cleanup. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/external/bsd/dwc2/dwc2.c Please note that diffs

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 09:42:20 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2.c Log Message: Remove unused usbd_xfer_handle from dwc2_pipe. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/external/bsd/dwc2

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 12:57:40 UTC 2013 Modified Files: src/sys/external/bsd/dwc2: dwc2var.h Log Message: Remove unused usbd_xfer_handle from dwc2_pipe. (missed commit) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/dev/ic

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 13:04:25 UTC 2013 Modified Files: src/sys/dev/ic: arn5008.c arn9003.c Log Message: Avoid declaration of 'delay' shadows a global declaration by renaming the local variable. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/external/bsd/dwc2/dist

2013-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Oct 22 16:37:08 UTC 2013 Modified Files: src/sys/external/bsd/dwc2/dist: dwc2_hcd.c Log Message: Be strictly correct about chan-xfer_dma assignment and avoid calling DMAADDR on fully transfered data phase of a control

CVS commit: src/sys/arch/arm/arm

2013-10-22 Thread Matt Thomas
Module Name:src Committed By: matt Date: Tue Oct 22 21:37:33 UTC 2013 Modified Files: src/sys/arch/arm/arm: cpu_exec.c Log Message: Read the right register for checking big endianess. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7