From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77750C43603 for ; Wed, 11 Dec 2019 08:24:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 56FD020836 for ; Wed, 11 Dec 2019 08:24:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728268AbfLKIYz (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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 >