Received: by 10.223.164.202 with SMTP id h10csp542898wrb; Thu, 30 Nov 2017 03:43:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMbHOgY6Q+VutHx1GXX3UTr7RydBzRsIl7WBiuFLiAj7J66QxBye1DBHF44OS5BLAxTbE6lr X-Received: by 10.101.78.2 with SMTP id r2mr2187420pgt.320.1512042218313; Thu, 30 Nov 2017 03:43:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512042218; cv=none; d=google.com; s=arc-20160816; b=smEwxRdGHwv8y1AY9RcoPMhRYT6oRs+vuPfmUHl3ohlgYLV/oP2lucUpObJw14djiH h1CvctPkRoY2+fCMPWOsNgH5uGca/ltpuIIB5pYxtXCVNLcPypTAquiUmUDQc9rAV2Mp ZXuz3bxvTq654VS5yO+m9+n4yl3qPjftx5cOg+w+SK+uSzOnreg5TaTw4ewXcjEZNCDz sja0H858kHuFgEyW0kMFkaqFya6PQeezOyOFfKprLQIcUlHDOR46un+O39CyVyH8NJgG YO+RFTVZg29TNnOY7/0AoICKgKqhvs8nHhzIzB99atoDGZaBx7x56hGphCciTLzZbvGt sUIg== 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=lNVfPEbfYrO1F+ujXPxS1NQuQVFn8SejruF9kqpcF+o=; b=zayJRhiH2GafQ1/gcfATSFVLMmZQefK3pe9qsOYgwzDAvVZFKxkFfZ7aAhyh+05Fto 8aeQimTwKhHTAOUgdCVrfTZZbxcceyuzufOyLb2Cld9MmYe9WDdem1EEvdtaHr1k3ewv l0zknd6Os+qVGh0LFH25lNPYmjltBWc0+GlhxguDMwG5ETAzJdFrBJrVogEjU3kgV0AB 1iiAxVg/xEDa4equ5Xk7uqQeQGfBBKrqLeiyR/DTzl24J9lQJsO5cXr4YgDtOV8oFt0T RCvpoDsQ7ppQmS1mJLL5DU8U0BfTQAGRU6muBpFgOE8UrdlxbcXRg2nKE0KWpwkpwfWC 6H0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=V8da17lK; 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 f15si3001545plr.724.2017.11.30.03.43.25; Thu, 30 Nov 2017 03:43:38 -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=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=V8da17lK; 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 S1752073AbdK3LnN (ORCPT + 99 others); Thu, 30 Nov 2017 06:43:13 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:33192 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbdK3LnM (ORCPT ); Thu, 30 Nov 2017 06:43:12 -0500 Received: by mail-wm0-f48.google.com with SMTP id g130so1256890wme.0 for ; Thu, 30 Nov 2017 03:43:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lNVfPEbfYrO1F+ujXPxS1NQuQVFn8SejruF9kqpcF+o=; b=V8da17lKINZvrCgdQTr3tE20ou76x7im0QkrNozGRv702iyMD0pjWQ0A5DHcp2+J/v YbBdin95eMEX0cG/FPStdViCOyciAHp/OAeZbHkzdqH0cFmQc2TUaiY/kgsvRAUzT6FY tQ4tceJeSbjSTDUTB4vyhUBgb8HY41rICPCmCE92HD0zIGF4qsHTxn8PLfuKfqb93zl7 l6H5+p8HOJLSLRDfTPCfU/+YjRBjzNucUsWJ7gUwB0e17FTY6+b4b/bR4GyKI0BbZveU XlpqWhWibI/hXhBkuHb9NW0aHOEnynFZlraR5mMpMAOqQpR9aeuWEXbnpwH0vfxnVrbY rvfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lNVfPEbfYrO1F+ujXPxS1NQuQVFn8SejruF9kqpcF+o=; b=oWg/hNIoCZKT3MFILnQapALJPOwgk7pqC2FTks1iF+bV4ai+bJRctD/AId1+AEr1CV W/RuLYiKKteFBT6TCUC99fi8gCg+0/X/S7KA312QgFoXFh1YHKOqaUk+gTmZXTJ1VQ5K Ch3tsmlIzv2fDAUrD+iK6FqGFcM3vKYkSPHpXuFb66JWO0xPxcxSf29NZMb0G1Cm8mnw OdQNSj5V2O2pCaVF4794tDL5hs7iITLlNgmFARnCSN6kYZcPKBSEO3WRgvROkpcBoOIF R7Wti+BxTNK0n/LXe2jcMC0JP/vtiZy2zQTUmAEryBCe3gdlQtu9UNADi6wlc8kApgSM tuRw== X-Gm-Message-State: AJaThX5vmkFveccdgwDogul0PmHvyb7qOdqhAmvmNvGyFPlsu9yU42hH 45i0PbuXOEo9OSwnAIS2UyBfMxudGX4QZJBTz6m7Ag== X-Received: by 10.28.26.139 with SMTP id a133mr342404wma.90.1512042190840; Thu, 30 Nov 2017 03:43:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.157.195 with HTTP; Thu, 30 Nov 2017 03:42:30 -0800 (PST) In-Reply-To: <1512035830-29161-3-git-send-email-vinod.koul@intel.com> References: <1512035830-29161-1-git-send-email-vinod.koul@intel.com> <1512035830-29161-3-git-send-email-vinod.koul@intel.com> From: Philippe Ombredanne Date: Thu, 30 Nov 2017 12:42:30 +0100 Message-ID: Subject: Re: [PATCH v3 02/15] soundwire: Add SoundWire bus type To: Vinod Koul Cc: Greg Kroah-Hartman , LKML , ALSA , Mark , Takashi , Pierre , patches.audio@intel.com, alan@linux.intel.com, Charles Keepax , Sagar Dharia , Srini Kandagatla , plai@codeaurora.org, Sudheer Papothi 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 Thu, Nov 30, 2017 at 10:56 AM, Vinod Koul wrote: [] > diff --git a/drivers/soundwire/bus.h b/drivers/soundwire/bus.h > new file mode 100644 > index 000000000000..2af05b21961e > --- /dev/null > +++ b/drivers/soundwire/bus.h > @@ -0,0 +1,57 @@ > +/* > + * This file is provided under a dual BSD/GPLv2 license. When using or > + * redistributing this file, you may do so under either license. > + * > + * SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) > + * > + * GPL LICENSE SUMMARY > + * > + * Copyright(c) 2015-17 Intel Corporation. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of version 2 of the GNU General Public License as > + * published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, but > + * WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * General Public License for more details. > + * > + * BSD LICENSE > + * > + * Copyright(c) 2015-17 Intel Corporation. > + * > + * Redistribution and use in source and binary forms, with or without > + * modification, are permitted provided that the following conditions > + * are met: > + * > + * * Redistributions of source code must retain the above copyright > + * notice, this list of conditions and the following disclaimer. > + * * Redistributions in binary form must reproduce the above copyright > + * notice, this list of conditions and the following disclaimer in > + * the documentation and/or other materials provided with the > + * distribution. > + * * Neither the name of Intel Corporation nor the names of its > + * contributors may be used to endorse or promote products derived > + * from this software without specific prior written permission. > + * > + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > + * OWNER 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, STRICT LIABILITY, OR TORT > + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + * > + */ Hi Vinod, You may want to use the proper SPDX ids convention here instead? e.g. below is all you need IMHO: not 50 lines of boilerplate but only two. You will make everyone happier with a sigh of relief when you remove this boilerplate, and you will also have saved a few trees if this ever printed on paper, making earth a better planet as a bonus ;) > +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) > +// Copyright (c) 2015-17 Intel Corporation. Neater and simpler, is it not? In any case the SPDX line should go at the top. See Linus and tglx doc posts for comment and doc styles for this. NB: some includes used in assembly sometimes require to use /**/ comments instead. -- Cordially Philippe Ombredanne From 1585484381934027453@xxx Thu Nov 30 09:55:34 +0000 2017 X-GM-THRID: 1585484381934027453 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread