From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: segfault in sparse snapshot 2010-02-13 Date: Wed, 24 Mar 2010 10:41:44 -0700 Message-ID: <20100324104144.0817c22b.rdunlap@xenotime.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from xenotime.net ([72.52.64.118]:59789 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932336Ab0CXRlq (ORCPT ); Wed, 24 Mar 2010 13:41:46 -0400 Received: from chimera.site ([71.245.98.113]) by xenotime.net for ; Wed, 24 Mar 2010 10:41:44 -0700 Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: linux-sparse@vger.kernel.org (snapshot from Dave Jones: http://www.codemonkey.org.uk/projects/git-snapshots/sparse/ ) In the linux-next-20100324 or akpm's kernel patchset (mmotm-2010-03-23), sparse segfaults when checking net/bridge/br_fdb.c. (does not happen in Linus's mainline kernel tree) The last messages are: net/bridge/br_fdb.c:225:9: error: no member 'hash' in struct net_bridge net/bridge/br_fdb.c:225:9: error: incompatible types for operation (+) net/bridge/br_fdb.c:225:9: left side has type bad type net/bridge/br_fdb.c:225:9: right side has type int net/bridge/br_fdb.c:225:9: error: cannot dereference this type /bin/sh: line 1: 28041 Segmentation fault sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise -Wno-return-void -D__x86_64__ -m64 -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include -Wp,-MD,net/bridge/.br_fdb.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include -I/lnx/src/NEXT/linux-next-20100324/arch/x86/include -Iinclude -I/lnx/src/NEXT/linux-next-20100324/include -include include/generated/autoconf.h -I/lnx/src/NEXT/linux-next-20100324/net/bridge -Inet/bridge -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -fno-builtin-memcpy -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -fprofile-arcs -ftest-coverage -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(br_fdb)" -D"KBUILD_MODNAME=KBUILD_STR(bridge)" -D"DEBUG_HASH=21" -D"DEBUG_HASH2=11" /lnx/src/NEXT/linux-next-20100324/net/bridge/br_fdb.c make[3]: *** [net/bridge/br_fdb.o] Error 139 --- ~Randy