From patchwork Thu Sep 8 08:48:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75732 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp729685qgf; Thu, 8 Sep 2016 01:48:53 -0700 (PDT) X-Received: by 10.98.108.4 with SMTP id h4mr90777943pfc.128.1473324533048; Thu, 08 Sep 2016 01:48:53 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p71si30708721pfj.147.2016.09.08.01.48.52; Thu, 08 Sep 2016 01:48:52 -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=@linaro.org; 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; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933599AbcIHIsu (ORCPT + 27 others); Thu, 8 Sep 2016 04:48:50 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:33219 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754534AbcIHIst (ORCPT ); Thu, 8 Sep 2016 04:48:49 -0400 Received: by mail-pf0-f181.google.com with SMTP id g202so16150713pfb.0 for ; Thu, 08 Sep 2016 01:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=APBq2aqq9uyeyM5qULy8Ef0VWxjGMNqqTtnL000A3yA=; b=JpubdNxCxNN2rmucrtsK6zPtRyapd11dC6GH/pCuHLUP2pRC95zVV16jkKf+T+hs92 hHJGgnU9NnYsxlnUaaBDSIBeNao2tKN5r1S92M+Yj2kXfAQSK7ZGdx510jUaWBcK+jA1 omuLzsRNQCQjy9yLz6G3bsh4sihV7Zhy1abI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=APBq2aqq9uyeyM5qULy8Ef0VWxjGMNqqTtnL000A3yA=; b=fXNRLLSyaTP8fW1jH52BwjcwZwrzLQSlyP9cEj+Tzc3Ub7YAkebNwrPE4I2sI7FVye ZRct62AsvMSJRql2E8iF6G5nEODFdPyqx7HiUWcATkBA7aXquUi6vW4kTxphNGoH8Lx5 dq3vuqNxz0yM6br4US8X65wMD6QFgPoy/hgdv6j59rvoTryY1AVegq0WAnPQvziaYHut bjW3XKy+SfVXyk0C1L/9BzyW089LLt9OviMXPOYoC8grGVtHeJf0fnmXPOycmNlAZDCa +mI8JhoJX3oAueApWo2OmIWWcOj5i2YDTgg7bzCld1tHmnHTS3thgffJWeCVWGybnnsF yYVQ== X-Gm-Message-State: AE9vXwPUv3wqT5qTywaIXPj3a8KbrK/C2GKeMHkfxOFZJVqBknLzapy+z35/Tn/Iin28kmAR X-Received: by 10.98.20.214 with SMTP id 205mr59077218pfu.11.1473324528464; Thu, 08 Sep 2016 01:48:48 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.33]) by smtp.gmail.com with ESMTPSA id g24sm54408028pfk.56.2016.09.08.01.48.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 01:48:48 -0700 (PDT) From: Baoyou Xie To: oleg.drokin@intel.com, andreas.dilger@intel.com, gregkh@linuxfoundation.org, bobijam.xu@intel.com, jinshan.xiong@intel.com, lai.siyao@intel.com, mike.rapoport@gmail.com, amitoj1606@gmail.com Cc: lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] staging/lustre/lov: add missing header dependencies Date: Thu, 8 Sep 2016 16:48:28 +0800 Message-Id: <1473324508-9294-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We get 1 warning when building kernel with W=1: drivers/staging/lustre/lustre/lov/lov_object.c:956:23: warning: no previous prototype for 'lov_lsm_get' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lov/lov_object.c:972:6: warning: no previous prototype for 'lov_lsm_put' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lov/lov_object.c:979:5: warning: no previous prototype for 'lov_read_and_clear_async_rc' [-Wmissing-prototypes] In fact, these functions are declared in ../llite/vvp_internal.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/staging/lustre/lustre/lov/lov_object.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/staging/lustre/lustre/lov/lov_object.c b/drivers/staging/lustre/lustre/lov/lov_object.c index f9621b0..912c416 100644 --- a/drivers/staging/lustre/lustre/lov/lov_object.c +++ b/drivers/staging/lustre/lustre/lov/lov_object.c @@ -38,6 +38,7 @@ #define DEBUG_SUBSYSTEM S_LOV #include "lov_cl_internal.h" +#include "../llite/vvp_internal.h" /** \addtogroup lov * @{