From nobody Fri Apr 17 23:07:34 2026 Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46DCD29993E for ; Thu, 12 Feb 2026 19:14:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770923671; cv=none; b=KUHsWn8zMY63p8+ND4tIrsnya7uAe3s7z4RIVBmR73/ifvIjzUKmGG7f3io+orxx3ajF4KODXBo2PJII1R1/COMpuF4UHISznKRUemeu1IHIgQhs56zDKwWhCALght+1hpGehZqV+V5hSyxY3gZyT7t5jkZeY3uPs4RirqQDbJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770923671; c=relaxed/simple; bh=vRIhXOcuSVaBBAxyQLVRjWtMNs9xUlj0tw4k1JMv6eU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SiybxDZTaBGGLSY30s3D8lQ+ztSUZzGZ7SkwU9/vYPnmahjMq0Q0RcjahouVEMbefPu/O/eQFvjoUBkiOL695rElDoAA53/WGY6N7DbnZigPpUc1ixrak+X4Jdn4UiSipd/ve0yBaCjMoYNW4ZSBzJGHrGV1mJBNNddLX3lAxIo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=sony.com; spf=fail smtp.mailfrom=sony.com; arc=none smtp.client-ip=44.202.169.39 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=sony.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=sony.com Received: from eig-obgw-5004b.ext.cloudfilter.net ([10.0.29.208]) by cmsmtp with ESMTPS id qaOQvCp6RCxrGqc8xv1A1r; Thu, 12 Feb 2026 19:14:27 +0000 Received: from host2044.hostmonster.com ([67.20.76.238]) by cmsmtp with ESMTPS id qc8wvhDuNqfpWqc8xvZPWn; Thu, 12 Feb 2026 19:14:27 +0000 X-Authority-Analysis: v=2.4 cv=A55sP7WG c=1 sm=1 tr=0 ts=698e2693 a=O1AQXT3IpLm5MaED65xONQ==:117 a=uc9KWs4yn0V/JYYSH7YHpg==:17 a=HzLeVaNsDn8A:10 a=z6gsHLkEAAAA:8 a=cDym0dv03349cYdJ0XsA:9 a=RVmHIydaz68A:10 a=KsjdKihiusvmYKwfN6su:22 a=iekntanDnrheIxGr1pkv:22 Received: from [66.118.46.62] (port=33666 helo=timdesk..) by host2044.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.99.1) (envelope-from ) id 1vqc8u-00000003DWj-03Sq; Thu, 12 Feb 2026 12:14:24 -0700 From: Tim Bird To: perex@perex.cz, tiwai@suse.com, clemens@ladisch.de, tglx@kernel.org, gregkh@linuxfoundation.org Cc: linux-spdx@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Bird Subject: [PATCH] sound: drivers: opl4: Add SPDX id lines to files Date: Thu, 12 Feb 2026 12:14:16 -0700 Message-ID: <20260212191416.3723397-1-tim.bird@sony.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2044.hostmonster.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sony.com X-BWhitelist: no X-Source-IP: 66.118.46.62 X-Source-L: No X-Exim-ID: 1vqc8u-00000003DWj-03Sq X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (timdesk..) [66.118.46.62]:33666 X-Source-Auth: tim@bird.org X-Email-Count: 2 X-Org: HG=bhshared_hm;ORG=bluehost; X-Source-Cap: YmlyZG9yZztiaXJkb3JnO2hvc3QyMDQ0Lmhvc3Rtb25zdGVyLmNvbQ== X-Local-Domain: no X-CMAE-Envelope: MS4xfHukLsCQHwQ0ErdtcfzVxkJa0JNXvjaj5kTv0066gAgkLuMQXMY3nQ+0K/iW/4kx0Z5/i0cMLvkAUVWoWuDhJCRrP6qBFfH5B1dGidcXfWud6D4KReea jQMnoWPnIL+RWKGZMJeUCUTG4xkL+yua17KqR8+gPeKpf/wXRDO1oqa2FR0aKxLGjD4QUiVjlIJOZKbd3+LujPh5c4DT/opL5NQ= Content-Type: text/plain; charset="utf-8" Add a license file to reflect variants of BSD licenses, with the first variant being a BSD-3-Clause license modified to remove clause 2 (attribution on binary formats). Add the SPDX id: "GPL-2.0-or-later OR LicenseRef-BSD-variants" to capture the complexity of custom licenses. Signed-off-by: Tim Bird --- LICENSES/deprecated/BSD-variants | 32 ++++++++++++++++++++++++++++++++ sound/drivers/opl4/opl4_local.h | 27 +-------------------------- sound/drivers/opl4/opl4_seq.c | 27 +-------------------------- sound/drivers/opl4/opl4_synth.c | 27 +-------------------------- sound/drivers/opl4/yrw801.c | 27 +-------------------------- 5 files changed, 36 insertions(+), 104 deletions(-) create mode 100644 LICENSES/deprecated/BSD-variants diff --git a/LICENSES/deprecated/BSD-variants b/LICENSES/deprecated/BSD-var= iants new file mode 100644 index 000000000000..83f24d68fb87 --- /dev/null +++ b/LICENSES/deprecated/BSD-variants @@ -0,0 +1,32 @@ +Valid-License-Identifier: LicenseRef-BSD-variant1 + +Description: +Here is the "no-binary-attribution" variant of a BSD license, numbered +here as variant1. It is a standard BSD-3-Clause license, with the +condition removed for attribution required in binary formats. + +License-Text: + +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer, + without modification. + + - The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/sound/drivers/opl4/opl4_local.h b/sound/drivers/opl4/opl4_loca= l.h index a16b4677c1e9..4914ddc27576 100644 --- a/sound/drivers/opl4/opl4_local.h +++ b/sound/drivers/opl4/opl4_local.h @@ -1,34 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later OR LicenseRef-BSD-variant1 */ /* * Local definitions for the OPL4 driver * * Copyright (c) 2003 by Clemens Ladisch * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, this software may be distributed and/or modified under t= he - * terms of the GNU General Public License as published by the Free Softwa= re - * Foundation; either version 2 of the License, or (at your option) any la= ter - * version. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURP= OSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE = FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STR= ICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY W= AY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. */ =20 #ifndef __OPL4_LOCAL_H diff --git a/sound/drivers/opl4/opl4_seq.c b/sound/drivers/opl4/opl4_seq.c index 7bb22089a093..4ace07e885c1 100644 --- a/sound/drivers/opl4/opl4_seq.c +++ b/sound/drivers/opl4/opl4_seq.c @@ -1,34 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR LicenseRef-BSD-variant1 /* * OPL4 sequencer functions * * Copyright (c) 2003 by Clemens Ladisch * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, this software may be distributed and/or modified under t= he - * terms of the GNU General Public License as published by the Free Softwa= re - * Foundation; either version 2 of the License, or (at your option) any la= ter - * version. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURP= OSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE = FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STR= ICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY W= AY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. */ =20 #include "opl4_local.h" diff --git a/sound/drivers/opl4/opl4_synth.c b/sound/drivers/opl4/opl4_synt= h.c index 82dbb8519ab1..a6a605a3abf6 100644 --- a/sound/drivers/opl4/opl4_synth.c +++ b/sound/drivers/opl4/opl4_synth.c @@ -1,34 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR LicenseRef-BSD-variant1 /* * OPL4 MIDI synthesizer functions * * Copyright (c) 2003 by Clemens Ladisch * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, this software may be distributed and/or modified under t= he - * terms of the GNU General Public License as published by the Free Softwa= re - * Foundation; either version 2 of the License, or (at your option) any la= ter - * version. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURP= OSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE = FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STR= ICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY W= AY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. */ =20 #include "opl4_local.h" diff --git a/sound/drivers/opl4/yrw801.c b/sound/drivers/opl4/yrw801.c index 9e464b84b905..34f140bf0fd3 100644 --- a/sound/drivers/opl4/yrw801.c +++ b/sound/drivers/opl4/yrw801.c @@ -1,34 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR LicenseRef-BSD-variant1 /* * Information about the Yamaha YRW801 wavetable ROM chip * * Copyright (c) 2003 by Clemens Ladisch * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * Alternatively, this software may be distributed and/or modified under t= he - * terms of the GNU General Public License as published by the Free Softwa= re - * Foundation; either version 2 of the License, or (at your option) any la= ter - * version. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURP= OSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE = FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STR= ICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY W= AY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. */ =20 #include "opl4_local.h" --=20 2.43.0