From nobody Fri Apr 3 04:49:59 2026 Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) (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 0C53D32D7F7 for ; Tue, 17 Feb 2026 23:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771371717; cv=none; b=Z0tjW6VvbUE4ty1PcxHYQdEBGT/6pvnO2T2WvFft3w+eRHq8m7IqOtoSZvE27pkn7aSU9vWARZ8+WNolx7wjCVWQ9+4tiNopAFckqhl8bKNh+I5vvIz8ScxPSPJnR156xLWgG/WZtrm2P1drrH/4U+t4cQF5BF4CCaugzrhDCUU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771371717; c=relaxed/simple; bh=4hfn3PBi7I/B19iPKHgTjONPmeWwo5KecgL0TyrkDK4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ceGA+76XRraGnsBAhe8VDfgphBiUnwRWZ14llO+P9C4Kda+BMsc5LqUG2vCp8psJKDfcVhx/uT9ySIbagcdimHftjblo0AClWO5O++J7f+SCP9AAm59/3xwCGDzbpgOKQ2hQTh+6AlQXrKVeG4s3LV8Y5PfDwpzXk2f5AqQA6eQ= 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.37 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-5006b.ext.cloudfilter.net ([10.0.29.217]) by cmsmtp with ESMTPS id sR4Vv2C1ZSkcfsUhOv8OWn; Tue, 17 Feb 2026 23:41:46 +0000 Received: from host2044.hostmonster.com ([67.20.76.238]) by cmsmtp with ESMTPS id sUhMvnt1mOs9RsUhMvOGDf; Tue, 17 Feb 2026 23:41:44 +0000 X-Authority-Analysis: v=2.4 cv=HPPDFptv c=1 sm=1 tr=0 ts=6994fcb9 a=O1AQXT3IpLm5MaED65xONQ==:117 a=uc9KWs4yn0V/JYYSH7YHpg==:17 a=HzLeVaNsDn8A:10 a=z6gsHLkEAAAA:8 a=DynsBFSEUln9YBO7LhAA:9 a=iekntanDnrheIxGr1pkv:22 Received: from [66.118.46.62] (port=34728 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 1vsUhG-000000013Ug-2Bes; Tue, 17 Feb 2026 16:41:38 -0700 From: Tim Bird To: perex@perex.cz, tiwai@suse.com, clemens@ladisch.de Cc: linux-spdx@vger.kernel.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Bird Subject: [PATCH v2] ALSA: usb-audio: Add SPDX id to midi.c Date: Tue, 17 Feb 2026 16:41:24 -0700 Message-ID: <20260217234124.242053-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: 1vsUhG-000000013Ug-2Bes X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (timdesk..) [66.118.46.62]:34728 X-Source-Auth: tim@bird.org X-Email-Count: 11 X-Org: HG=bhshared_hm;ORG=bluehost; X-Source-Cap: YmlyZG9yZztiaXJkb3JnO2hvc3QyMDQ0Lmhvc3Rtb25zdGVyLmNvbQ== X-Local-Domain: no X-CMAE-Envelope: MS4xfGZ0DwA5DU7W59maej/gSbj0mUUlojLNOOjALI20Mo2fgOFCEJNpqSEBRGa5sljyAc/hVEnLWu91JKd9cVaxzD3wS1iwQr8FV5HG3+fUPtkt8i9w8uJu 5UabMNBtr7eV4dSf9XpzBvywl8gktkTX1k3nEgSZxlun9MzPgWBHz/apffs/K8sPWEgkAgYyDkmVlRaLvdea3b7GsSkbj9JkDpc= Content-Type: text/plain; charset="utf-8" Add an SPDX-License-Identifier line to sound/usb/midi.c Use 'BSD-Source-Code' as part of the OR for the license id. Signed-off-by: Tim Bird --- This patch depends on the one for opl4 sound driver, as that one adds the BSD-Source-Code license for the LICENSES directory. V1 -> V2 - Change to use BSD-Source-Code, from the weird LicenseRef variant thing I was doing before. This is a supported SPDX ID. - Use better subject prefix (ALSA: usb-audio:) --- sound/usb/midi.c | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/sound/usb/midi.c b/sound/usb/midi.c index dd8249e75970..e6e8618a232a 100644 --- a/sound/usb/midi.c +++ b/sound/usb/midi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-Source-Code /* * usbmidi.c - ALSA USB MIDI driver * @@ -7,32 +8,6 @@ * Based on the OSS usb-midi driver by NAGANO Daisuke, * NetBSD's umidi driver by Takuya SHIOZAKI, * the "USB Device Class Definition for MIDI Devices" by Roland - * - * 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 --=20 2.43.0