diff --git a/asc2log.c b/asc2log.c index 81dbdb9..59f2f98 100644 --- a/asc2log.c +++ b/asc2log.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * asc2log.c - convert ASC logfile to compact CAN frame logfile * diff --git a/bcmserver.c b/bcmserver.c index f16052a..66bfb81 100644 --- a/bcmserver.c +++ b/bcmserver.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * tst-bcm-server.c * diff --git a/can-calc-bit-timing.c b/can-calc-bit-timing.c index 0293b45..29ceb2a 100644 --- a/can-calc-bit-timing.c +++ b/can-calc-bit-timing.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* can-calc-bit-timing.c: Calculate CAN bit timing parameters * * Copyright (C) 2008 Wolfgang Grandegger diff --git a/canbusload.c b/canbusload.c index bf217b6..a94ed34 100644 --- a/canbusload.c +++ b/canbusload.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * canbusload.c * diff --git a/candump.c b/candump.c index ca58439..38ce96e 100644 --- a/candump.c +++ b/candump.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * candump.c * diff --git a/canfdtest.c b/canfdtest.c index e470ed6..bc82015 100644 --- a/canfdtest.c +++ b/canfdtest.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * canfdtest.c - Full-duplex test program (DUT and host part) * diff --git a/canframelen.c b/canframelen.c index 388295a..3c5453f 100644 --- a/canframelen.c +++ b/canframelen.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * canframelen.c * diff --git a/canframelen.h b/canframelen.h index 4f39404..641119d 100644 --- a/canframelen.h +++ b/canframelen.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * canframelen.h * diff --git a/cangen.c b/cangen.c index 769fac2..9a1914b 100644 --- a/cangen.c +++ b/cangen.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * cangen.c - CAN frames generator for testing purposes * diff --git a/cangw.c b/cangw.c index 14b06b4..397ae27 100644 --- a/cangw.c +++ b/cangw.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * cangw.c - manage PF_CAN netlink gateway * diff --git a/canlogserver.c b/canlogserver.c index e3350b7..f9ae159 100644 --- a/canlogserver.c +++ b/canlogserver.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * canlogserver.c * diff --git a/canplayer.c b/canplayer.c index 1d05cad..e87a0ba 100644 --- a/canplayer.c +++ b/canplayer.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * canplayer.c - replay a compact CAN frame logfile to CAN devices * diff --git a/cansend.c b/cansend.c index a0cdec9..8db9fd2 100644 --- a/cansend.c +++ b/cansend.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * cansend.c - simple command line tool to send CAN-frames via CAN_RAW sockets * diff --git a/cansniffer.c b/cansniffer.c index f07c16b..b710058 100644 --- a/cansniffer.c +++ b/cansniffer.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * cansniffer.c * diff --git a/isotpdump.c b/isotpdump.c index 54b31c1..1ab9416 100644 --- a/isotpdump.c +++ b/isotpdump.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotpdump.c - dump and explain ISO15765-2 protocol CAN frames * diff --git a/isotpperf.c b/isotpperf.c index db3a2b7..6ee6ede 100644 --- a/isotpperf.c +++ b/isotpperf.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotpperf.c - ISO15765-2 protocol performance visualisation * diff --git a/isotprecv.c b/isotprecv.c index 763da39..2137a97 100644 --- a/isotprecv.c +++ b/isotprecv.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotprecv.c * diff --git a/isotpsend.c b/isotpsend.c index b6a5670..01026b7 100644 --- a/isotpsend.c +++ b/isotpsend.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotpsend.c * diff --git a/isotpserver.c b/isotpserver.c index 7c0c1ee..562aa89 100644 --- a/isotpserver.c +++ b/isotpserver.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotpserver.c * diff --git a/isotpsniffer.c b/isotpsniffer.c index f42e18b..6c19c8b 100644 --- a/isotpsniffer.c +++ b/isotpsniffer.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotpsniffer.c - dump ISO15765-2 datagrams using PF_CAN isotp protocol * diff --git a/isotptun.c b/isotptun.c index 3b4fe3a..cf698a9 100644 --- a/isotptun.c +++ b/isotptun.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * isotptun.c - IP over CAN ISO-TP (ISO15765-2) tunnel / proof-of-concept * diff --git a/jacd.c b/jacd.c index a1a53d6..552a491 100644 --- a/jacd.c +++ b/jacd.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011 EIA Electronics * diff --git a/jspy.c b/jspy.c index 5764be5..6ae34d8 100644 --- a/jspy.c +++ b/jspy.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011 EIA Electronics * diff --git a/jsr.c b/jsr.c index b42e465..20ea99c 100644 --- a/jsr.c +++ b/jsr.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011 EIA Electronics * diff --git a/lib.c b/lib.c index dbc4513..7433933 100644 --- a/lib.c +++ b/lib.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * lib.c - library for command line tools * diff --git a/lib.h b/lib.h index 2837278..4981ba2 100644 --- a/lib.h +++ b/lib.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * lib.h - library include for command line tools * diff --git a/libj1939.c b/libj1939.c index 817073a..5970d02 100644 --- a/libj1939.c +++ b/libj1939.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011 EIA Electronics * diff --git a/log2asc.c b/log2asc.c index 8fb88a9..ffa0baf 100644 --- a/log2asc.c +++ b/log2asc.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * log2asc.c - convert compact CAN frame logfile to ASC logfile * diff --git a/log2long.c b/log2long.c index 2c52c78..e1c386a 100644 --- a/log2long.c +++ b/log2long.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * log2long.c - convert compact CAN frame representation into user readable * diff --git a/slcan_attach.c b/slcan_attach.c index 7f79280..8410b65 100644 --- a/slcan_attach.c +++ b/slcan_attach.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * slcan_attach.c - userspace tool for serial line CAN interface driver SLCAN * diff --git a/slcand.c b/slcand.c index 37bf990..7468169 100644 --- a/slcand.c +++ b/slcand.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * slcand.c - userspace daemon for serial line CAN interface driver SLCAN * diff --git a/slcanpty.c b/slcanpty.c index 17b8349..297810f 100644 --- a/slcanpty.c +++ b/slcanpty.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * slcanpty.c - creates a pty for applications using the slcan ASCII protocol * and converts the ASCII data to a CAN network interface (and vice versa) diff --git a/terminal.h b/terminal.h index 7c3a78d..198b48e 100644 --- a/terminal.h +++ b/terminal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* * Copyright (c) 2002-2007 Volkswagen Group Electronic Research * All rights reserved. diff --git a/testj1939.c b/testj1939.c index 16a8249..83df1d2 100644 --- a/testj1939.c +++ b/testj1939.c @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2013 EIA Electronics *