svn commit: r305807 - in head/sys: amd64/amd64 i386/i386 x86/include

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Sep 14 16:03:47 UTC 2016


On 14 Sep 2016, at 12:57, Bruce Evans wrote:

> Author: bde
> Date: Wed Sep 14 12:57:40 2016
> New Revision: 305807
> URL: https://svnweb.freebsd.org/changeset/base/305807
>
> Log:
>
> Modified:
>   head/sys/amd64/amd64/trap.c

breaks all amd64 LINT* kernels:

/scratch/tmp/bz/head.svn/sys/amd64/amd64/trap.c:937:22: error: use of 
undeclared identifier 'frame'; did you mean 'free'?
         if (!TRAPF_USERMODE(frame)) {
                             ^~~~~
                             free
./machine/cpu.h:53:9: note: expanded from macro 'TRAPF_USERMODE'
         (ISPL((framep)->tf_cs) == SEL_UPL)
                ^
./x86/segments.h:48:20: note: expanded from macro 'ISPL'
#define ISPL(s)         ((s)&3)         /* priority level of a selector 
*/
                           ^
/scratch/tmp/bz/head.svn/sys/sys/malloc.h:175:6: note: 'free' declared 
here
void    free(void *addr, struct malloc_type *type);
         ^
/scratch/tmp/bz/head.svn/sys/amd64/amd64/trap.c:937:7: error: member 
reference base type 'void (void *, struct malloc_type *)' is not a 
structure or union
         if (!TRAPF_USERMODE(frame)) {
              ^~~~~~~~~~~~~~~~~~~~~
./machine/cpu.h:53:16: note: expanded from macro 'TRAPF_USERMODE'
         (ISPL((framep)->tf_cs) == SEL_UPL)
          ~~~~~~~~~~~~~^~~~~~~~
./x86/segments.h:48:20: note: expanded from macro 'ISPL'
#define ISPL(s)         ((s)&3)         /* priority level of a selector 
*/
                           ^
2 errors generated.
--- trap.o ---
*** [trap.o] Error code 1

bmake[5]: stopped in /storage/head/obj/scratch/tmp/bz/head.svn/sys/LINT


More information about the svn-src-head mailing list