On 23. 04. 24, 11:33, Christoph Fritz wrote:
--- /dev/null
+++ b/include/net/lin.h
@@ -0,0 +1,97 @@
...
+/* special ID descriptions for LIN */
+#define LIN_ENHANCED_CKSUM_FLAG 0x00000100U
+
+static const unsigned char lin_id_parity_tbl[] = {
This ends up in every translation unit you include lin.h into. Bad.
This is also being used by a serial lin driver. But I guess most of the drivers have no need for this. Mhm, ... any ideas?
If needs be, put it to a .c and keep an extern here.
thanks,
--
js
suse labs