Received: by 10.223.164.202 with SMTP id h10csp3609859wrb; Sat, 25 Nov 2017 12:32:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMZjNn+Egtl7zf3U5I4QWk/tiQtebdY2G1DGCohQcAsU2s9Gy9cE/nlW+ZzERhLhoxuaWPKp X-Received: by 10.84.218.72 with SMTP id f8mr34138982plm.143.1511641947486; Sat, 25 Nov 2017 12:32:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511641947; cv=none; d=google.com; s=arc-20160816; b=0w4sDAa0ZglFOJekuMVfz9jQjcE99Pp3SREKJH2+u2qkpqwX5Rjl/SmPp16Bw1kKFv ikybIm7jZkCTSYRTvQ06AzdAREnBLjyNjFWkwC5P+DGPkwKhcTysqvh3hr3LVvty1ruI BAfrvTKMTtyUvRvcZD532tN3TK4XM8XSLXehe4ycyrnAtSqGBifZkP0SbemwpDB/rwDY RPfBwmwVB324YvvrqUsuk+kPrD7uLWCIoGNvI2h3B/Llcvn5K+C2eo5FHD308ShzXW3X D+ozSo/6zy1JJjT4igC5bt1LcdBTMZVCrA2j1dn/J/nBg9RukaRj85GpMI3TT8WsanW6 Je7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=2xuv+FHIFirA5sJ7jRReK1+PHg+qsNKUxmTGWSnV7Oo=; b=fW7NBLe1O5MJll0cYc2W3faDYzfwURQ9nvOkhLYZWo1TzplmmMAr0PXVAnp4RTdhEH p17yeplmsdwz7Ijf4c168ZeEHLbEZhZeEu5M4BERX6PWrVoxTxxjc/v63hxRp58xIiUZ vVPJpXDDbdS6282bIsXMiDMBIaxInobEqxXFeokwY5KzhU2ZoyGZ0B4Ohp6s+6ES5vFU zW3i+qG1/aStpuv5hkvzgQo+t8e5WsXC4EKH8ji8MjaO+iyy+kQ4M+rMIrYWgaj3SrO8 CEOl2CtXeClTmLdDm65VppqCntfT5wrp0kuS4E00dtR0Huik/6XcuRPKUUoMeTPz3jj8 gF6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uBlfIEIa; 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 i185si20238619pgc.294.2017.11.25.12.32.15; Sat, 25 Nov 2017 12:32:27 -0800 (PST) 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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uBlfIEIa; 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 S1751790AbdKYUad (ORCPT + 81 others); Sat, 25 Nov 2017 15:30:33 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:41659 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbdKYUab (ORCPT ); Sat, 25 Nov 2017 15:30:31 -0500 Received: by mail-io0-f195.google.com with SMTP id g73so32488865ioj.8; Sat, 25 Nov 2017 12:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2xuv+FHIFirA5sJ7jRReK1+PHg+qsNKUxmTGWSnV7Oo=; b=uBlfIEIaCQ/1vVboX156wFZ5+EFpAeADyLszAxdCXQT+mg5au/BLnCJ1zX2xCKg6V3 dea00mEi70ZZ0HO28Zr7TLV5GNQzlsNZEfHn8jc3beEYT/ltiGYGuCNCQH7yp5vb/v5i z4oyVTKthKmiTthaAJBXDk0G1d3f05zCYiajusdkc/v+eSDvaXy+7aiwmQiiHeVViJUu clDeGN0rkU+JErIBBy1rKZ04ukbkDNJQX7tMzLnz4Hvn7iPRAD9qp7dXT/8p5anfa9uk mUux+tye60NiuIoIJmaRkaBkV7OMSYE8h50AaSjlPlTyg1XyhTq63sRC7Gfv1evGdgp3 6h0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2xuv+FHIFirA5sJ7jRReK1+PHg+qsNKUxmTGWSnV7Oo=; b=opzq47XkWRYJyuNgpsvJ1HwhgZinoNi9OEo9Jb6ktLiLNgn3RLzltGXfa5QEwcV7H/ qzLWetvSlNmxIO2WJOCLZKgSAMn+3DsPNp8hBTbSseC3xITakXESEl9Ryg6t1vLlOkJO O7zsUYSGmUxxd7lqEj7ZU4Yx8N3rH4ROQGxYsIsg4HUyHthRuhPUy6Qi03lDeOCr2Ax6 h1onZoaOjinQNK7ZFZmP/9zD2iGMPD8DFfhmHZW40Mhk/zvGCxnH9ZxZ/FfKxgfqv/jr Sw8g41zVPh88kASohK3LpRaMgvbUxGiOMmXCbVlXY0VYt5JzFcRT33DJW/7in5NZrGUw oUmQ== X-Gm-Message-State: AJaThX4rm2czugBpAcJpvF497vyRQqwYhsd6LChTbRa5WPKhtn7d18tm tEwJemx/t/ZNhabKhzgRqiGHH/DIiNDX6y40qVc= X-Received: by 10.107.29.11 with SMTP id d11mr14418364iod.201.1511641830666; Sat, 25 Nov 2017 12:30:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.88.8 with HTTP; Sat, 25 Nov 2017 12:30:29 -0800 (PST) In-Reply-To: <20171125175353.467b6e49@vento.lan> References: <20171116184358.398030394@linutronix.de> <20171117150639.0e706421@vento.lan> <20171117183946.GA28533@lst.de> <20171122095117.49c558a4@vento.lan> <20171122134804.GA30796@kroah.com> <20171125190447.GB5114@amd> <20171125191726.GA6886@amd> <20171125175353.467b6e49@vento.lan> From: Linus Torvalds Date: Sat, 25 Nov 2017 10:30:29 -1000 X-Google-Sender-Auth: Ob0iTed5_oYAFSORjGfiSjpFahs Message-ID: Subject: Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses To: Mauro Carvalho Chehab Cc: Pavel Machek , Greg Kroah-Hartman , Thomas Gleixner , Christoph Hellwig , LKML , Andrew Morton , Jonathan Corbet , Kate Stewart , Philippe Ombredanne , Russell King , Rob Herring , Jonas Oberg , Joe Perches , linux-xfs , Charlemagne Lasse , Carmen Bianca Bakker Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 25, 2017 at 9:53 AM, Mauro Carvalho Chehab wrote: > > Let me see if I got it straight. At drivers/media/common/siano/smsir.c, > we have, currently: .. snip snip .. > With is completely out of standard. I'd like to add an SPDX tag there > and, while doing that, adjust the comments. > > So, if I understand well, your preference would be to make it like: > > // SPDX-License-Identifier: GPL-2.0+ > // > // Siano Mobile Silicon, Inc. > // MDTV receiver kernel modules. > // Copyright (C) 2006-2009, Uri Shkolnik > // > // Copyright (c) 2010 - Mauro Carvalho Chehab > // - Ported the driver to use rc-core > // - IR raw event decoding is now done at rc-core > // - Code almost re-written > > Right? Exactly. I would also like to make clear that this is not a "let's do this in bulk and automatically". But let's just say that if the "//" for the SPDX line ends up encouraging people towards this kind of format over the long run, I think that would be lovely. The /* */ format really ends up encouraging some odd formatting. Your example with the whole "box of stars" is not standard kernel format, but it's surprisingly common. And you find various lopsided versions of the multi-line thing, and even when you do *single* lines, the /* */ thing ends up being something where people try to align the closing "*/" part. Honestly now, how many people have seen things like struct somestruct { int member; /* For Xyz */ int other; /* For Abracadabra */ ... where people try to align that ending thing? Or tell me you haven't seen block comments where people do /* This is a multi-line * thing that tries to be dense */ and other odd formats that are just ugly and unbalanced. That's why I think "//" ends up being better in the end. And yes, I've changed my mind over time. Had you asked me ten or fifteen years ago, I probably would have said that "//" is not real C. Linus From 1585069137127082795@xxx Sat Nov 25 19:55:25 +0000 2017 X-GM-THRID: 1584269821406855532 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread