Subject: kern/30403: More cast qualifier fallout
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 06/02/2005 12:56:01
>Number:         30403
>Category:       kern
>Synopsis:       More cast qualifier fallout
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 02 12:56:01 +0000 2005
>Originator:     Juergen Hannken-Illjes
>Release:        NetBSD 3.99.5
>Organization:
	
>Environment:
	
	
>Description:
Todays builds yield:

src/sys/arch/sparc/stand/boot/boot.c:
  sys/arch/sparc/stand/boot/boot.c: In function `main':
  sys/arch/sparc/stand/boot/boot.c:261: warning: assignment discards qualifiers from pointer target type
  sys/arch/sparc/stand/boot/boot.c:270: warning: assignment discards qualifiers from pointer target type
  sys/arch/sparc/stand/boot/boot.c:273: warning: passing arg 1 of `bootoptions' discards qualifiers from pointer target type

src/sys/dev/ic/ncr5380sbc.c:
  sys/dev/ic/ncr5380sbc.c:162: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:163: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:164: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:165: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:166: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:167: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:168: warning: initialization discards qualifiers from pointer target type
  sys/dev/ic/ncr5380sbc.c:169: warning: initialization discards qualifiers from pointer target type

src/sys/arch/powerpc/powerpc/db_memrw.c:
  sys/arch/powerpc/powerpc/db_memrw.c:82: error: conflicting types for `db_write_bytes'
  sys/ddb/db_access.h:39: error: previous declaration of `db_write_bytes'
	
>How-To-Repeat:
	
>Fix:
	

>Unformatted: