RE: [PATCH] sound: drivers: opl4: Add SPDX id lines to files
"Bird, Tim" <[email protected]> Thu, 12 Feb 2026 21:12:44 +0000
| Newsgroups | org.kernel.vger.linux-spdx,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <MW5PR13MB563268BC53570D4C8D3ABAE6FD60A@MW5PR13MB5632.namprd13.prod.outlook.com> |
> -----Original Message----- > From: Richard Fontana <[email protected]> > Sent: Thursday, February 12, 2026 12:29 PM >=20 > On Thu, Feb 12, 2026 at 2:=E2=80=8A14 PM Tim Bird <tim.=E2=80=8Abird@=E2= =80=8Asony.=E2=80=8Acom> wrote: > > 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 >=20 > On Thu, Feb 12, 2026 at 2:14=E2=80=AFPM Tim Bird <[email protected]> wrot= e: > > > > 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). >=20 > > diff --git a/LICENSES/deprecated/BSD-variants b/LICENSES/deprecated/BSD= -variants > > 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) <year> <owner> . 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 noti= ce, > > + this list of conditions and the following disclaimer, > > + without modification. > > + > > + - The name of the author may not be used to endorse or promote produc= ts > > + derived from this software without specific prior written permissio= n. > > + > > +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 PUR= POSE > > +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, ST= RICT > > +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. >=20 > As far as I can tell this does not match an existing SPDX identifier, > though it seems to be pretty close to `BSD-Source Code` > https://spdx.org/licenses/BSD-Source-Code.html . > Might be worthwhile for someone to open an issue in > github.com/spdx/license-list-XML to add it. Thanks very much for the info and suggestion. I looked and didn't find an existing SDPX id, so I ended up using a LicenseRef-... ID, which is not ideal. It would be better if there were an existing ID I could use. I agree that BSD-Source-Code is a close match. I did a cursory check, and found that this style of BSD variant is sprinkled around in other kernel files as well (at least 10 more confirmed, and maybe up to 50 based on grepping without closer review, yet). So this BSD variant seems to have been popular at some point. There are a few (minor?) wording changes between the different versions, mostly having to do with naming the author or organization to exempt from endorsing the product. I'm not sure if legally it matters if the exact entity to exempt is named or not, or if "AUTHOR", "ORGANIZATION" or "CONTRIBUTORS" is sufficient. I wouldn't mind getting opinions on a few items in this patch: - use of LicenseRef-BSD-variant1 - my plan to have a single file under LICENSES to handle multiple BSD vari= ants. - for example, do I need to list all the possible named endorsement exe= mptions, and somehow preserve them in the SPDX-License-Identifier ID, or can I= use one or a few blanket license texts to preserve what's needed. Note that the= re may only be a few names of authors or organizations to exempt. Possibly, the = SPDX matching guidelines will cover the text differences that are present in the ke= rnel. A broader question is whether the exact language of the disclaimer needs to= be preserved, or if highly similar phrasing is sufficient, without needing to duplicate e= ach and every disclaimer exactly. Thanks again for the review. Now that I have a pointer to a closer SPDX ma= tch I'll review the situation, possibly ask for a new ID, or see what the SPDX community th= inks. -- Tim