From nobody Fri Apr 3 04:39:51 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 707D62EC553 for ; Tue, 17 Feb 2026 23:22:54 +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=1771370576; cv=none; b=uy1tZnJShgNjdRQVOU4pRL245cTh9RknucnIDn8eIgwkzkwHmIrT2KB/FOhVXAlSL4zgVRNtAeEnnGA2HKyOwBEZ1ZMfl0OMeuAm46G6t2ywJmdUXo4kxF20I2pdcjxE4U7Hz+b8N6lPHAcjTikWDuU2ou88LW7JumLdlRpb+IU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771370576; c=relaxed/simple; bh=iFYlGFSZTXMuh1py2ogaGWuUbEKYUBRnkM5e+cEO3w4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B5CJ4pOY/M8osUnRKX4cBRBbu8NUtU8UJb7aEODvCS2EDhDJK/biqRM3rNV+SLiQGgU3Jz+4jfuZYMiEj/XP7G0T8PvH0qZa1puqdN++qnbK+9W7u327bXLfpiU0h/qAn3GdSPhQuioLd4WCsuQF0hTovDEx7a2V+w+k1KWKpo0= 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-5005b.ext.cloudfilter.net ([10.0.29.189]) by cmsmtp with ESMTPS id sSfAvd58ACxrGsUP7veGDg; Tue, 17 Feb 2026 23:22:53 +0000 Received: from host2044.hostmonster.com ([67.20.76.238]) by cmsmtp with ESMTPS id sUP6vOsIJjAxusUP6vAzPR; Tue, 17 Feb 2026 23:22:52 +0000 X-Authority-Analysis: v=2.4 cv=EoDSrTcA c=1 sm=1 tr=0 ts=6994f84d a=O1AQXT3IpLm5MaED65xONQ==:117 a=uc9KWs4yn0V/JYYSH7YHpg==:17 a=HzLeVaNsDn8A:10 a=24AZYWMyAAAA:8 a=z6gsHLkEAAAA:8 a=cDym0dv03349cYdJ0XsA:9 a=CFjvgroRm8IA:10 a=RVmHIydaz68A:10 a=bG88sKzkDEFeXWNnvthB:22 a=iekntanDnrheIxGr1pkv:22 Received: from [66.118.46.62] (port=38406 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 1vsUOx-00000000gFE-3qPt; Tue, 17 Feb 2026 16:22:44 -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 v2] ALSA: opl4: Add SPDX id lines to files in opl4 driver Date: Tue, 17 Feb 2026 16:22:30 -0700 Message-ID: <20260217232230.241142-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: 1vsUOx-00000000gFE-3qPt X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (timdesk..) [66.118.46.62]:38406 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: MS4xfExS+zq+rBvxpTB4PXt66O1FiPYqA7Wjby1zxd2UJwEDcAP2+end3tapn1laAVIAOphAu4T9srGUxd9xLDb+2RmLpd/qNQUpa5oEK7uBDGg8aMqodf0x hbXxW58xhdomiG8eoCWxxhL8nCCcNZ4FNowDhxwdrgs2e0J4RLV5nE4DvFf4SGIFG16MeFFPNgch2BeK46lBXxo4zubXTZvbQ5c= Content-Type: text/plain; charset="utf-8" Add a license file for the BSD-Source-Code license variant. Add "SPDX-License-Identifier GPL-2.0-or-later OR BSD-Source-Code" to files using this license and the 'Alternatively...' language. Remove the boilerplate text from the files. Signed-off-by: Tim Bird --- LICENSES/deprecated/BSD-Source-Code | 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-Source-Code diff --git a/LICENSES/deprecated/BSD-Source-Code b/LICENSES/deprecated/BSD-= Source-Code new file mode 100644 index 000000000000..600cfea43526 --- /dev/null +++ b/LICENSES/deprecated/BSD-Source-Code @@ -0,0 +1,32 @@ +Valid-License-Identifier: BSD-Source-Code +SPDX-URL: https://spdx.org/licenses/BSD-Source-Code.html +Usage: + To use the BSD Source Code License, put the following SPDX tag/value + pair into a comment according to the placement guidelines in the + licensing rules documentation: + SPDX-License-Identifier: BSD-Source-Code +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..6dc223c6dc75 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 BSD-Source-Code */ /* * 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..751b9f06aad8 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 BSD-Source-Code /* * 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..c3a91a348d9a 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 BSD-Source-Code /* * 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..d7ce3ef9e6d4 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 BSD-Source-Code /* * 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