Re: Linux 2.6.34-rc3 + CAN build problem

From: David Miller
Date: Sat Apr 10 2010 - 18:50:13 EST


From: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>
Date: Sat, 10 Apr 2010 14:36:48 +0200

> So i wonder why Nemeth trapped into this problem ... probably an include file
> mix-up?

Do you have CONFIG_DEBUG_STRICT_USER_COPY_CHECKS enabled in your
kernel config?

That's the only way you get an actual failure of a build when
the user copy size can't be proven to be in range by the
compiler, otherwise it just warns.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/