Subject: pmap.c: PMPID(): warning: assignment discards `volatile' from pointer target type
To: None <port-sparc@sun-lamp.cs.berkeley.edu>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sparc
Date: 07/14/1994 15:04:56
When rebuilding my kernel, I get

cc  -c -I. -I../../../../arch -I../../../.. -I../../../../sys -DSUN4C -DTIMEZONE="0x1e0" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DGDB -DKGDBDEV="0xc01" -DKGDBRATE="0x9600" -DRCONSOLE -DSYSVMSG -DSYSVSEM -DCOMPAT_09 -DFFS -DNFSSERVER -DNFSCLIENT -DINET -DTCP_COMPAT_42 -DCOMPAT_43 -DLKM -DCOMPAT_SUNOS -DKERNEL  -DMAXUSERS=8 ../../../../arch/sparc/sparc/pmap.c
../../../../arch/sparc/sparc/pmap.c: In function `PMPID':
../../../../arch/sparc/sparc/pmap.c:781: warning: assignment discards `volatile' from pointer target type

I mentioned this before, and deraadt sent me mail saying that (a) it
had been fixed and (b) it was just a warning and didn't matter.  As for
(a), I regret I must announce that it's crept back in again, and as for
(b), it doesn't matter for correctness at present, perhaps, but it's
the only compiler warning in the entire kernel, and presumably allproc
is declared as pointing to volatile for a reason....

The kernel source in question was supped from sun-lamp's -current
sometime middayish July 12th, and was checked again at 03:30 July 13th
with no changes found.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu

------------------------------------------------------------------------------