From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932939AbdKPTpV (ORCPT ); Thu, 16 Nov 2017 14:45:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:53876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750946AbdKPTpR (ORCPT ); Thu, 16 Nov 2017 14:45:17 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F2A121993 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org X-Google-Smtp-Source: AGs4zMbUkzWpYmnVh7NwuvvgAS7q2kHuCc11BE+NMq0wGbubcebc8jFvULAE5IC5DCItmdxg/bqrT1sVEJd21qE0Bag= MIME-Version: 1.0 In-Reply-To: <20171116184358.398030394@linutronix.de> References: <20171116183306.103584007@linutronix.de> <20171116184358.398030394@linutronix.de> From: Rob Herring Date: Thu, 16 Nov 2017 13:44:54 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [patch V2 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses To: Thomas Gleixner Cc: LKML , Linus Torvalds , Andrew Morton , Jonathan Corbet , Kate Stewart , Philippe Ombredanne , Greg Kroah-Hartman , Christoph Hellwig , Russell King , Jonas Oberg , Joe Perches , linux-xfs@vger.kernel.org, Charlemagne Lasse , Carmen Bianca Bakker Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 16, 2017 at 12:33 PM, Thomas Gleixner wrote: > Add a file to the Documentation directory to describe how file licenses > should be described in all kernel files, using the SPDX identifier, as well > as where all licenses should be in the kernel source tree for people to > refer to (LICENSES/). > > Thanks to Kate and Greg for review and editing and Jonas for the > suggestions concerning the meta tags in the licenses files. > > Signed-off-by: Thomas Gleixner > --- [...] > +2. Style: > + > + The SPDX license identifier is added in form of a comment. The comment > + style depends on the file type: > + > + :: > + > + C source: // SPDX-License-Identifier: > + C header: /* SPDX-License-Identifier: */ > + ASM: /* SPDX-License-Identifier: */ > + scripts: # SPDX-License-Identifier: > + .rst: .. SPDX-License-Identifier: .dts{i} // SPDX-License-Identifier: Or use "DT source" Rob