Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp349556ybl; Wed, 11 Dec 2019 00:25:53 -0800 (PST) X-Google-Smtp-Source: APXvYqw1UOapmBrZGGxA0qNJuyeY7uthMlVMx6voXeVfi+u5RlHTJEVvcqDqQUWU1RrGrOXREu4y X-Received: by 2002:a05:6808:a9c:: with SMTP id q28mr1834442oij.176.1576052752870; Wed, 11 Dec 2019 00:25:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576052752; cv=none; d=google.com; s=arc-20160816; b=SzUiz5E28XQTyTcJ9oIvs4/DMHBVCz7huGUCg07qeJWRzm2Jv3cqi1bcI4AktjTJ4/ BIeQdo+mj1jpnKvRPvuJFF61oBuYhyRei+YDKWfR7/xOZ28K2cMsmLuSBidT05PBIj9a Wrg6I/FjzzMzoFMfJZAvB6h2bB2dyKqRWOzjIdLvD8C8SO4h1lVsnnvXRBGVUBYrz/mP K7c/Vf5R3Mqxecv5U/1wFYp2GUyxjfNOKwVxIlbUr5f5AnyUouXg9ZwsWliSqVt818cI jtQ9JjOHRouuqQILy1nVKAi6fcJrigC4oHqROVygPJD20x0C4LTOYHQ25VRW4lirTY2h 1mrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wJm176fSjF/VCKQvZUm6BQjC2z6AUml5oKPh15kSvxI=; b=TbGMg6stLjmyMMUspO+qcbF7cDrZ/ZG5xkpZgZZGN1g1/MhBLRGOr53QspPjpqizic ohDTw9hWlksmh9RXjFdvwkjGfYSUo4lzL021AYQY4uyjwwKdp0lt/x6lC++C1T8tx/4T ehNMGMyPpBXIcv/DYfuPVRgsn51ywTHbEFk9BIIsn0J7678O7a1ad33Ky9V2qcse+vdk 4f96KDpA+8ruNNID+c/yW0MuWN64a8NhDxlXew0L6sjAwLHBypQ94EbRHXXxvANVrdyM SWWrTjLceBegO1E7dSQUFB5yTNXASTCsSJxDy0CsSfYTDyzRNJhowmr7+gf+djvC5x/s ubIA== 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 f4si580232oto.169.2019.12.11.00.25.39; Wed, 11 Dec 2019 00:25:52 -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; 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 S1728296AbfLKIYz (ORCPT + 99 others); Wed, 11 Dec 2019 03:24:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:57576 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726988AbfLKIYz (ORCPT ); Wed, 11 Dec 2019 03:24:55 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8D17DADFF; Wed, 11 Dec 2019 08:24:53 +0000 (UTC) Received: by unicorn.suse.cz (Postfix, from userid 1000) id AB3D8E0184; Wed, 11 Dec 2019 09:24:49 +0100 (CET) Date: Wed, 11 Dec 2019 09:24:49 +0100 From: Michal Kubecek To: netdev@vger.kernel.org Cc: Johannes Berg , David Miller , Jakub Kicinski , Jiri Pirko , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 4/5] ethtool: move string arrays into common file Message-ID: <20191211082449.GC22512@unicorn.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 09:27:54PM +0100, Johannes Berg wrote: > > > +++ b/net/ethtool/common.c > > @@ -0,0 +1,85 @@ > > +// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note > > Is the Linux-syscall-note relevant here? This isn't really used for > syscalls directly? > > The exception says it's "to mark user space API (uapi) header files so > they can be included into non GPL compliant user space application > code". I'm hardly an expert but almost all occurences of "Linux-syscall-note" are in UAPI headers so you are most likely right. IIRC I copied the line into include/uapi/linux/ethtool_netlink.h (which was the first new file) from neighbor ethtool.h and then used the same in all other files. I'll send a v3 with "GPL-2.0-only" (as there also seems to be a trend of moving to SPDX v3 identifiers) in a moment. Michal > > > +++ b/net/ethtool/common.h > > @@ -0,0 +1,17 @@ > > +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ > > Same here. > > johannes >