Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439760

Re: [PATCH 1/2] libnvdimm: add missing macros

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Dan Williams <dan.j.williams@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] libnvdimm: add missing macros
Date Fri, 08 Jul 2016 21:40:01 +0200
Message-ID <rSJMZ-CK-7@gated-at.bofh.it> (permalink)
References <rSGP8-79Y-13@gated-at.bofh.it>
X-Original-To Eric Engestrom <eric.engestrom@imgtec.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uSZEvletiYuBYGJ4uhAs8b8AyVKwGJuptO17nh7GUNg=; b=tb4mhueUNWVZL49sLQfjyIejxhc3HOKXw0AiMLLDH0qHC4T78H6hwhRICY7iQUbUaD gVFOyosnjs5Nu+4aP6hWabOBnst6n2e2DHKgS6uHyMpxX4Lm5F+U9sfmDalHY5tHVTa5 KCU00sfubCtxoUyzhfMwZOmC75XTMrGTzY1fQry3NPIPdGiOlPjEpe+vR1S4tA5ve89i lmtLdR9ytgakWfWKFok6qTuPHaLR916617D+s3OCJ8q/qTQf5KEXrRyuFxroq/Yqxddc XmU82zXO4uy547X4VoWg0+fMXlveUVScMuduLAjd+Uuh9B/W2dLUaPUYYNCD/dpxf/We /h/w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uSZEvletiYuBYGJ4uhAs8b8AyVKwGJuptO17nh7GUNg=; b=H0J0w3aWzi2xDlb1T9SPXWonGeB7otXzRyBijPzHBeE8720yUn1bjwbgExlnNwjrsH VSPg1DVAKoapDHbskJ4xtOU8uE9b7CDz3/AR/oQpyNLvWwSI6TuPeaOVdy0qZygLrXiw rZ5w0jRGxIU4Bi1p3FkhJV7XzzcfDHvvxgrjFZ2XXQ2DXK7Xf8OMIThHe1iK7nkSowdJ wS4CK4jL3WYEwaHXxt0niEOKzJaVTSC4K+NWNDgD1Q8UxGXDpfOULl+CRsJKmjG2Sxu+ Ddc5piGDWYeIzdQ1WpSIA0neJ/jC47xgSOKULvAJiZWppjPttWYFwNTJZ+w5jYIIc6Lr 2+QQ==
X-Gm-Message-State ALyK8tKs1mLmLp3dhuCFP1Pln+AbB9gBE1eD8YBY38mNWS47gCWgBooOLKF3uidCLnxyyGVs1VQJJN9ki7V5um4Z
X-Received by 10.202.228.133 with SMTP id b127mr4271137oih.168.1468006353509; Fri, 08 Jul 2016 12:32:33 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8BIT
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 13
Organization linux.* mail to news gateway
X-Original-Cc "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Eric Engestrom <eric@engestrom.ch>, "linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>
X-Original-Date Fri, 8 Jul 2016 12:32:33 -0700
X-Original-Message-ID <CAPcyv4iqaNBwUNzEqcZm5E5XRDDftmcdCftAvmgNpySofqDykQ@mail.gmail.com>
X-Original-References <20160708162911.18756-1-eric.engestrom@imgtec.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1439760

Show key headers only | View raw


On Fri, Jul 8, 2016 at 9:29 AM, Eric Engestrom
<eric.engestrom@imgtec.com> wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
> ---
>
> This can't compile without these macros… Is this header really used by anyone?
> Should it be removed, to avoid bit-rot?

It's used by ndctl [1].  You can't use it directly in userspace, you
need the kernel's "make headers_install" to strip out the
kernel-specific macros.

[1]: https://github.com/pmem/ndctl

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] libnvdimm: add missing macros Eric Engestrom <eric.engestrom@imgtec.com> - 2016-07-08 18:30 +0200
  [PATCH 2/2] netfilter: add missing macro Eric Engestrom <eric.engestrom@imgtec.com> - 2016-07-08 18:30 +0200
    Re: [PATCH 2/2] netfilter: add missing macro kbuild test robot <lkp@intel.com> - 2016-07-08 19:10 +0200
    Re: [PATCH 2/2] netfilter: add missing macro Pablo Neira Ayuso <pablo@netfilter.org> - 2016-07-11 12:50 +0200
  Re: [PATCH 1/2] libnvdimm: add missing macros Dan Williams <dan.j.williams@intel.com> - 2016-07-08 21:40 +0200

csiph-web