From patchwork Tue Aug 8 22:34:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng X-Patchwork-Id: 132957 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2450404vqr; Tue, 8 Aug 2023 16:15:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEiAe3OTvAO5ycTs39oXgIQl6JYjDgfJEnDtl7TcAVF5UfXN6+LkHVHAxM9N/XKdWKoxiJ X-Received: by 2002:a05:6871:707:b0:1ba:cc77:1d81 with SMTP id f7-20020a056871070700b001bacc771d81mr1309822oap.46.1691536519829; Tue, 08 Aug 2023 16:15:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691536519; cv=none; d=google.com; s=arc-20160816; b=XAN6ZeHqgzYtksFaNM0dVE+X64NXTQlS69Db14h2qtXt2c6DJIvV6BkRSexbrA9LzE uowQTDDZdab/0YPcsHj3kw5euqlkE6XTnhDGkknowonfLurQUpgSHUKxxebhca4Nrbfc gm0olEz3BksGDwoH2gwbtqyWBqQCYg7GO46U8YrG9YVobAa+Fg/jlpIgHAvFffT3/qp5 M07XFFUTPAncrB4J6uUi6UaiyDE43bxMdMWwbk+ES2DTafn2IZO12+DP066dlU7QYyoS MYKvrvZ1Ozp8ZLE6WSpd3hbHjIhmT0cKtKfH7X4QDK1XywZXVDBv7FX6/jxHCsXs5sHy KgmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n2KFV/GN0Dmb6et1uDl+6TYtEpvdFh6+eq04+vTqbWA=; fh=qsseV3tytAHM2HZZxVXgyuVrZmCUssrmDLdACHe2FM8=; b=NgYHWfeAcFTRc+I180mduPH3JZJhKh12vfBVebOPNi1LzH3wFpxi7f8kAfOuimpqUX QB0jJzEgZzMV9lw40gle7SrWcrlMJajbCs2rhrNRVm3ADW0FtWVK3IPCwxmw/moQTM3E sb/KQnPPQWG2g9Wi8N+09Vr6hVD7eWbBlNXefgnZlXEjYSCW7vcCAO3gTur/uupDnBLx rh135Yu+xrNiBG9ucP6koQe8U8B9CXQEhJl+S9ZyakkVzooJztJHvwdeuDzihi/Cnysm ps3lBz6qHEaIMK/YKH+OuYF6fumP4OFb+SoS2z2Y4ALqhgaSEiesQpAxZZ6QC3kbydh3 D08g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VzX0NaB3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b005653443511bsi14545pgh.74.2023.08.08.16.15.06; Tue, 08 Aug 2023 16:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VzX0NaB3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231346AbjHHWfX (ORCPT + 99 others); Tue, 8 Aug 2023 18:35:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231868AbjHHWfM (ORCPT ); Tue, 8 Aug 2023 18:35:12 -0400 Received: from out-69.mta1.migadu.com (out-69.mta1.migadu.com [IPv6:2001:41d0:203:375::45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5380219BF for ; Tue, 8 Aug 2023 15:34:58 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1691534084; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=n2KFV/GN0Dmb6et1uDl+6TYtEpvdFh6+eq04+vTqbWA=; b=VzX0NaB351C6DD8+HdAwI+2BBgaKp2DsPKyaTS6As2g7L5PxYjrvf5vfDSVgcA0J8YI6PJ GA6YFt8Nh5z4a8MaCiHjB2y67MO/1paidHZYY/cbgJNT8C4i9ceGIzVl/Ji2kJbAJAJ+a+ MLiStpKVoDyv4jBAwc2FEAMw/u4IdxM= From: Sui Jingfeng To: Bjorn Helgaas Cc: Dave Airlie , Daniel Vetter , linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Sui Jingfeng , Andi Shyti Subject: [PATCH v2 11/11] PCI/VGA: Replace full MIT license text with SPDX identifier Date: Wed, 9 Aug 2023 06:34:12 +0800 Message-Id: <20230808223412.1743176-12-sui.jingfeng@linux.dev> In-Reply-To: <20230808223412.1743176-1-sui.jingfeng@linux.dev> References: <20230808223412.1743176-1-sui.jingfeng@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773704598121503124 X-GMAIL-MSGID: 1773704598121503124 From: Sui Jingfeng Per Documentation/process/license-rules.rst, the SPDX MIT identifier is equivalent to including the entire MIT license text from LICENSES/preferred/MIT. Replace the MIT license text with the equivalent SPDX identifier. Signed-off-by: Sui Jingfeng Reviewed-by: Andi Shyti --- include/linux/vgaarb.h | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/include/linux/vgaarb.h b/include/linux/vgaarb.h index 6d5465f8c3f2..97129a1bbb7d 100644 --- a/include/linux/vgaarb.h +++ b/include/linux/vgaarb.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: MIT */ + /* * The VGA aribiter manages VGA space routing and VGA resource decode to * allow multiple VGA devices to be used in a system in a safe way. @@ -5,27 +7,6 @@ * (C) Copyright 2005 Benjamin Herrenschmidt * (C) Copyright 2007 Paulo R. Zanoni * (C) Copyright 2007, 2009 Tiago Vignatti - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS - * IN THE SOFTWARE. - * */ #ifndef LINUX_VGA_H