[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BC03340.5020500@freemail.hu>
Date: Sat, 10 Apr 2010 10:13:52 +0200
From: Németh Márton <nm127@...email.hu>
To: Oliver Hartkopp <socketcan@...tkopp.net>,
Oliver Hartkopp <oliver.hartkopp@...kswagen.de>,
Urs Thuermann <urs.thuermann@...kswagen.de>
CC: socketcan-core@...ts.berlios.de,
Network Development <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Linux 2.6.34-rc3 + CAN build problem
Hi,
I have some problem building Liunux kernel 2.6.34-rc3 with the attached .config:
$ make clean bzImage modules
[...]
CC net/socket.o
LD net/802/built-in.o
LD net/can/built-in.o
CC [M] net/can/bcm.o
CC [M] net/can/raw.o
In file included from /mnt/store/nmarci/src/linux-2.6.34-rc3/arch/x86/include/asm/uaccess.h:571,
from include/net/checksum.h:25,
from include/linux/skbuff.h:28,
from include/linux/if_ether.h:124,
from include/linux/netdevice.h:29,
from net/can/raw.c:48:
In function ‘copy_from_user’,
inlined from ‘raw_setsockopt’ at net/can/raw.c:447:
/mnt/store/nmarci/src/linux-2.6.34-rc3/arch/x86/include/asm/uaccess_32.h:212: error: call to ‘copy_from_user_overflow’ declared with attribute error:
copy_from_user() buffer size is not provably correct
make[2]: *** [net/can/raw.o] Error 1
make[1]: *** [net/can] Error 2
make: *** [net] Error 2
When I disable CAN driver like this, the compile works:
--- .config.orig 2010-04-10 09:18:40.000000000 +0200
+++ .config 2010-04-10 09:19:05.000000000 +0200
@@ -705,23 +705,7 @@
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_TCPPROBE is not set
# CONFIG_HAMRADIO is not set
-CONFIG_CAN=m
-CONFIG_CAN_RAW=m
-CONFIG_CAN_BCM=m
-
-#
-# CAN Device Drivers
-#
-CONFIG_CAN_VCAN=m
-CONFIG_CAN_DEV=m
-# CONFIG_CAN_CALC_BITTIMING is not set
-# CONFIG_CAN_SJA1000 is not set
-
-#
-# CAN USB interfaces
-#
-# CONFIG_CAN_EMS_USB is not set
-# CONFIG_CAN_DEBUG_DEVICES is not set
+# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
Regards,
Márton Németh
View attachment ".config" of type "text/plain" (68734 bytes)
Powered by blists - more mailing lists