From patchwork Sat Sep 7 02:06:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 173308 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1500572ilq; Fri, 6 Sep 2019 19:08:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkGwr/Q/boZKPV7u9WcF/GP4Cp0q6ZtjUD5MLVRJZi+BwLhgh+5xP2nkcZzVtUkDVaSelB X-Received: by 2002:a17:90a:7788:: with SMTP id v8mr13194438pjk.132.1567822103712; Fri, 06 Sep 2019 19:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567822103; cv=none; d=google.com; s=arc-20160816; b=F/FUOv1HCarZCoyZCAvC1y0k29b1BqnQGJmvlle0f9cz4AlLgRjcpFPRaCEAppPeWP 0KDfqTks1+Y+74HkYb12TGHTgp3w122w/IkV+0tGV+jNDFhcPbISNGNfvi4CnZkd7FF+ KNbnGKdi/Q+zeWh15BzhXtluJuOfELzmpk8e6SShqSCuadpq3ZNIddTMOuBchQYz4cx5 4Fcygy9jGtFX3bYkC/DE5VaAhXRlTH5pyZXUzn/uaprME/hKxtm55BGscxro9UE/u0fQ oU/tSFqGlwvckqElM0ojUccBiglj0JaxVOaNCGWQhV6269j6IH6/M0Jsarp3bgAE2kaT RJMQ== 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 c127si5748828pga.569.2019.09.06.19.08.23; Fri, 06 Sep 2019 19:08:23 -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 S2406459AbfIGCH4 (ORCPT + 28 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(+) -- 2.17.1 Tested-by: Arnd Bergmann 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.