Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2999333ybe; Sun, 8 Sep 2019 05:08:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxH1mo9c3Ux+EkOw7XLBS6+zZaP9eCupk4mGtMYfT/nv9GE/gzQme8xIXvnYjFx2p+al19 X-Received: by 2002:a50:ec0e:: with SMTP id g14mr13196110edr.28.1567944536803; Sun, 08 Sep 2019 05:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567944536; cv=none; d=google.com; s=arc-20160816; b=Ip3ri4gHozvIFdgXF5VB94DfuJtb216kgNgrfPxUa8My1ErqU0l+hgmLPcdoLqOru8 ueWacEjqvSC3/6/IBfFmdYh3Tnl+cIOBBNFlANzA74dHjpcr5k2V817ONPSFi/xnk2dF M3XkU81GGWCUWirO4wuXcI3AkhUyxk8KTG57AZaDoZuqvEER5JIiv8Tv/1KD2OBBZhZA NdXn0cSOKPc075e7sjLf4+/impH0fohfn0+M/cY3oF5a+WcXI+msIfzb6S7YoiLXu1oO SWOwLKQhpAxLMBHP9zdXa8PjYchYX5WOFA3NgQMx64MVDRIGI7wVvteIFnu7QaycJAzN UUoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=d519+5LBWEDmACzdn23VGIIVCmRjE22Y92knNc+yYWU=; b=ZNE+7OquMKpx+CEimNxEbiMvjcAc6Eoow8v15WyTYuPQ6iril16kjeXa7/+Cb5yFuI KHihem8pBcRT/MUQ6YrU9ejOVbKuPpzqYFwT6cIj2T516ENPGEaLTrML/yx7/kTSSI6t oZdsD6bVbZH6mZQw8OWvQ1kCaFoV5/81FSbeTs9BL/d7itmSMsedgUrvDquc8Mz0ugfF XtOXI6TmTb9Onxwq/zpttQMwdT/jJ2H4IfNrczwtx3wqeCndMAZtAZVvT94oSEoPIgrY yov5dCwFCP4Ib+XBbIkWG1bFbtSeRYS5h6v1pFbgiQEPedDC4Yb+YSPNtsQgzz/guNoC Sx/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GnhBvibv; 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 o26si5816689ejr.148.2019.09.08.05.08.33; Sun, 08 Sep 2019 05:08:56 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=GnhBvibv; 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 S2406436AbfIGCH4 (ORCPT + 99 others); Fri, 6 Sep 2019 22:07:56 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:63002 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbfIGCH4 (ORCPT ); Fri, 6 Sep 2019 22:07:56 -0400 Received: from grover.flets-west.jp (softbank126125143222.bbtec.net [126.125.143.222]) (authenticated) by conuserg-12.nifty.com with ESMTP id x8726mnV030289; Sat, 7 Sep 2019 11:06:48 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x8726mnV030289 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1567822008; bh=d519+5LBWEDmACzdn23VGIIVCmRjE22Y92knNc+yYWU=; h=From:To:Cc:Subject:Date:From; b=GnhBvibvu9LVsstj+fRbsWe/77NR84vhmxA7gKwdT9JKnX0fG64hhds/RCfO2oZD1 XTdN3R20HFq5bGkK4UOecyhtJJUth+lUZNGTIPwoWNgxdsPRpv/ctw1RZQyb30sUW0 91PYnSMiV13lS7nrX/A1rrXKXb0cHWlhXuaTrnBniGDBmFDFLRq2d7KiwIbE7eoLG8 p5wnAXY6QAb25kQ0AEpeKcLHnXVYvcNnPVNutQYx6RKDogMBdQJjzxX3LPyOVXOKlI IaWvYjqyfGciuWzSC/zkqb4uvI+/y2frVgThCtSPwI9ljsArQym3UHu5bSLG+IK3tW cDnPAcbcROVBg== X-Nifty-SrcIP: [126.125.143.222] From: Masahiro Yamada To: David Howells Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Masahiro Yamada , Christian Brauner , Mauro Carvalho Chehab , Thomas Gleixner Subject: [PATCH] samples: watch_queue: add HEADERS_INSTALL dependency Date: Sat, 7 Sep 2019 11:06:31 +0900 Message-Id: <20190907020631.29359-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org samples/watch_queue/Makefile specifies the header search path -I$(objtree)/usr/include, which is probaby needed to include etc. To make it work properly, add "depends on HEADERS_INSTALL" so that headers are installed into $(objtree)/usr/include before building this sample. Fixes: 7141642ed120 ("Add sample notification program") Reported-by: Arnd Bergmann Signed-off-by: Masahiro Yamada --- Arnd reported a build error: https://lkml.org/lkml/2019/9/6/665 Missing "depends on HEADERS_INSTALL" is the only reason I have in my mind. If it still fails to build, I do not know why. samples/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/Kconfig b/samples/Kconfig index 2c3e07addd38..d0761f29ccb0 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -171,6 +171,7 @@ config SAMPLE_VFS config SAMPLE_WATCH_QUEUE bool "Build example /dev/watch_queue notification consumer" + depends on HEADERS_INSTALL help Build example userspace program to use the new mount_notify(), sb_notify() syscalls and the KEYCTL_WATCH_KEY keyctl() function. -- 2.17.1