Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7158289ybi; Mon, 8 Jul 2019 15:50:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzOCoWbJjb8Khtp0Uwa4aCpXwDmTbkuFXAYBaVgGA1DhoOoGRsCXMKuqipc7G8GjyePsOt X-Received: by 2002:a17:90a:2244:: with SMTP id c62mr29324618pje.29.1562626212869; Mon, 08 Jul 2019 15:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562626212; cv=none; d=google.com; s=arc-20160816; b=pDM9Z7ejIM86yd7qCT5PmShUohSL410JIRNoXUtxldFwALbwskh9GEPSQ7Ga2LwN1a Vwc83HRx9+i9cqZ2S3ULe7jkMZiJi/evAqWtO584HS+rAWcZiPLmmGoOhpoZ7RqvPfgA z1VFqkEnLmxt/8PK7u9XtsO1lkOpsaglNQ42bRjdOV61Q/yzqgGn/qoogYziVHbyde9Y 6JAFkes/3NAYbm/DfjRN6ypTH8JlfAOUrh/EwcLAlZxoaEfavi02/7Cbq/ijzhwFMT1m uTr492Wf+ZvpwdxboOG7QJyNdgxNFG7+Gksb0G1dOe8lqpLAv9NUqeU6DnvIBXl21C/O YRkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=H/02sOTgoKUC3fNC3koWtN/O0cvRwWMY4/01ANrwH2k=; b=CXYyMEZw77cB/fK+pUmBW8BI65XGNEkMbMk29+n0HDQRJlSlRQZh21qnoctDY6Pjwt Ky1RlXVnharvn80HWd9dnRa5xKXmT0+3N0rxtJWkP/xzeHx/uvK2X5NukZpBXZhDmcKD owd2HcjQtNWR+Mc2Tyn5tn8HKqFgxfC0OSzonepMDUGj1/sEWOTVN36owx3IRuqLLbYt ity9AUqAq1mgMDLz7hNHbzN6cRaCQQEcXTynl/UqFdbYE/Ysyf01O5mZBkrMXjAWElKW 9Cjum3LZb59npS3TSJRfZ4EPo0By1be4rf7Y/0aZZZ7Nuw9joMKNUL2JqyzBM/CcnJ+C OT+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 136si18794289pgg.354.2019.07.08.15.49.58; Mon, 08 Jul 2019 15:50:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404774AbfGHT6M (ORCPT + 99 others); Mon, 8 Jul 2019 15:58:12 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:43071 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727663AbfGHT6L (ORCPT ); Mon, 8 Jul 2019 15:58:11 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hkZlv-0004Tq-9o; Mon, 08 Jul 2019 21:57:59 +0200 Date: Mon, 8 Jul 2019 21:57:58 +0200 (CEST) From: Thomas Gleixner To: Qian Cai cc: Ilia Mirkin , Andrew Morton , David Airlie , Daniel Vetter , Maarten Lankhorst , Sean Paul , joe@perches.com, linux-spdx@vger.kernel.org, dri-devel , LKML , rfontana@redhat.com, Linus Torvalds , Jonathan Corbet , Greg KH Subject: Re: [PATCH v2] gpu/drm_memory: fix a few warnings In-Reply-To: <1562614919.8510.9.camel@lca.pw> Message-ID: References: <1562609151-7283-1-git-send-email-cai@lca.pw> <1562614919.8510.9.camel@lca.pw> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-814371836-1562615879=:1961" X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-814371836-1562615879=:1961 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 8 Jul 2019, Qian Cai wrote: > On Mon, 2019-07-08 at 15:21 -0400, Ilia Mirkin wrote: > > > -/** > > > +// SPDX-License-Identifier: MIT > > > +/* > > >   * \file drm_memory.c > > >   * Memory management wrappers for DRM > > >   * > > > @@ -12,25 +13,6 @@ > > >   * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. > > >   * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. > > >   * All Rights Reserved. > > > - * > > > - * 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 > > > - * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES > > > OR > > > > This talks about VA Linux Systems and/or its suppliers, while the MIT > > licence talks about authors or copyright holders. That's looks lika a valid substitution and does not change the meaning of the license, AFAICT. Richard might have a differnt opinion though. > > Are such transformations OK to just do? Nope. > From, > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Document > ation/process/license-rules.rst > > "The Linux kernel requires the precise SPDX identifier in all source files." That's correct. > That is the closest license I can think of. Well, it's pretty much plain MIT, but you might have noticed: * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. So in this case, you need to talk to the copyright holder if he agrees to remove the boiler plate language. Adding the MIT SPDX identifier without touching the boiler plate is fine. Thanks, tglx --8323329-814371836-1562615879=:1961--