NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/45417: lint(1) in c99 mode do not understand declaration anywhere in block



The following reply was made to PR bin/45417; it has been noted by GNATS.

From: Nicolas Joly <njoly%pasteur.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
njoly%pasteur.fr@localhost
Subject: Re: bin/45417: lint(1) in c99 mode do not understand declaration 
anywhere in block
Date: Tue, 4 Oct 2011 13:12:37 +0200

 --NzB8fVQJ5HfG6fxh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Tue, Oct 04, 2011 at 10:25:02AM +0000, David Holland wrote:
 > The following reply was made to PR bin/45417; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: bin/45417: lint(1) in c99 mode do not understand declaration
 >  anywhere in block
 > Date: Tue, 4 Oct 2011 10:22:52 +0000
 > 
 >  On Tue, Oct 04, 2011 at 10:00:01AM +0000, njoly%pasteur.fr@localhost wrote:
 >   > This prevents running lint against some kernel files.
 >  
 >  The style rules say these should be fixed too; which ones?
 
 I've not checked all of them, but the corresponding list from amd64
 GENERIC kernel should be close.
 
 -- 
 Nicolas Joly
 
 Projects and Developments in Bioinformatics
 Institut Pasteur, Paris.
 
 --NzB8fVQJ5HfG6fxh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="generic-amd64.lint"
 
 /local/src/NetBSD/src/sys/netinet/rfc6056.c(294): syntax error 'struct' [249]
 /local/src/NetBSD/src/sys/netinet6/nd6.c(115): syntax error '.' [249]
 /local/src/NetBSD/src/sys/netinet6/nd6.c(119): syntax error '}' [249]
 /local/src/NetBSD/src/sys/dist/ipf/netinet/ip_fil_netbsd.c(357): syntax error 
'int' [249]
 /local/src/NetBSD/src/sys/dist/ipf/netinet/ip_fil_netbsd.c(509): syntax error 
'int' [249]
 /local/src/NetBSD/src/sys/dev/raidframe/rf_paritymap.c(589): syntax error 
'struct' [249]
 /local/src/NetBSD/src/sys/dev/ic/isp_netbsd.c(557): syntax error 'int' [249]
 
/local/src/NetBSD/src/sys/external/isc/atheros_hal/dist/ar5212/ar5212_xmit.c(341):
 syntax error '/' [249]
 /local/src/NetBSD/src/sys/dev/ic/ath.c(4366): syntax error 'status' [249]
 /local/src/NetBSD/src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c(617): 
syntax error '*' [249]
 /local/src/NetBSD/src/sys/dev/usb/ehci.c(3991): syntax error 'unsigned' [249]
 /local/src/NetBSD/src/sys/dev/ic/sl811hs.c(1471): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/fs/tmpfs/tmpfs_vnops.c(2254): syntax error 'i' [249]
 /local/src/NetBSD/src/sys/fs/union/union_subr.c(484): syntax error '*' [249]
 /local/src/NetBSD/src/sys/miscfs/kernfs/kernfs_vnops.c(169): syntax error '.' 
[249]
 /local/src/NetBSD/src/sys/miscfs/kernfs/kernfs_vnops.c(173): syntax error '.' 
[249]
 /local/src/NetBSD/src/sys/miscfs/kernfs/kernfs_vnops.c(175): syntax error '.' 
[249]
 /local/src/NetBSD/src/sys/uvm/uvm_aobj.c(504): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/uvm/uvm_fault.c(1020): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/uvm/uvm_fault.c(1144): syntax error 'struct' [249]
 /local/src/NetBSD/src/sys/dev/midi.c(1088): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/kern/kern_auth.c(618): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/kern/kern_rwlock.c(349): syntax error 'count' [249]
 /local/src/NetBSD/src/sys/kern/subr_bufq.c(109): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/kern/subr_evcnt.c(245): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/kern/subr_evcnt.c(252): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/kern/subr_evcnt.c(281): syntax error 'copylen' [249]
 /local/src/NetBSD/src/sys/kern/subr_evcnt.c(295): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/kern/uipc_socket2.c(557): syntax error 'lowat' [249]
 /local/src/NetBSD/src/sys/miscfs/genfs/genfs_io.c(148): syntax error 'const' 
[249]
 /local/src/NetBSD/src/sys/miscfs/genfs/genfs_io.c(263): syntax error 'const' 
[249]
 /local/src/NetBSD/src/sys/miscfs/genfs/genfs_io.c(275): syntax error 'const' 
[249]
 /local/src/NetBSD/src/sys/miscfs/genfs/genfs_io.c(489): syntax error 'offset' 
[249]
 /local/src/NetBSD/src/sys/miscfs/genfs/genfs_io.c(504): syntax error 'b' [249]
 /local/src/NetBSD/src/sys/net/rtsock.c(601): syntax error 'struct' [249]
 /local/src/NetBSD/src/sys/arch/x86/x86/pmap.c(2698): syntax error 'gen' [249]
 /local/src/NetBSD/src/sys/arch/x86/acpi/acpi_machdep.c(139): syntax error 
'struct' [249]
 /local/src/NetBSD/src/sys/dev/pci/jmide.c(481): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/dev/pci/ehci_pci.c(234): syntax error 'const' [249]
 /local/src/NetBSD/src/sys/dev/pci/if_bge.c(3858): syntax error 'runt' [249]
 /local/src/NetBSD/src/sys/dev/pci/if_bge.c(3859): syntax error 'runt' [249]
 /local/src/NetBSD/src/sys/dev/pci/if_bge.c(3883): syntax error 'runt' [249]
 /local/src/NetBSD/src/sys/dev/pci/amdpm_smbus.c(188): syntax error '*' [249]
 /local/src/NetBSD/src/sys/dev/pci/amdpm_smbus.c(371): syntax error 'ret' [249]
 /local/src/NetBSD/src/sys/dev/pci/hifn7751.c(1986): syntax error 'hifn_intr' 
[249]
 /local/src/NetBSD/src/sys/dev/pci/hifn7751.c(2050): syntax error 
'hifn_newsession' [249]
 /local/src/NetBSD/src/sys/dev/pci/hifn7751.c(2134): syntax error 
'hifn_freesession' [249]
 /local/src/NetBSD/src/sys/dev/pci/hifn7751.c(2425): syntax error 'hifn_abort' 
[249]
 /local/src/NetBSD/src/sys/dev/pci/ubsec.c(752): syntax error 
'ubsec_newsession' [249]
 /local/src/NetBSD/src/sys/dev/pci/ubsec.c(895): syntax error 
'ubsec_freesession' [249]
 /local/src/NetBSD/src/sys/dev/pci/ubsec.c(942): syntax error 'ubsec_process' 
[249]
 /local/src/NetBSD/src/sys/dev/pci/ubsec.c(2060): syntax error 'ubsec_kprocess' 
[249]
 /local/src/NetBSD/src/sys/dev/usb/uhso.c(2355): syntax error 'int' [249]
 /local/src/NetBSD/src/sys/compat/common/tty_43.c(365): syntax error 'iflag' 
[249]
 
 --NzB8fVQJ5HfG6fxh--
 


Home | Main Index | Thread Index | Old Index