Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp797880pxk; Thu, 24 Sep 2020 20:19:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGGGx2MnicW3dQqv8/63Ly9U1hVAv7U3CcWeji81ud9XzvMRaq0wV5a4niSz1wlQCnRVxl X-Received: by 2002:a05:6402:187:: with SMTP id r7mr1798412edv.360.1601003987666; Thu, 24 Sep 2020 20:19:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601003987; cv=none; d=google.com; s=arc-20160816; b=TaMMGcNpcZlZ4c4JMGByH9epAxik6eyGZehIy/4mbBaUIogtORDdqF/B1oUtEktCHz YB2CxbgAlXuTnglBh/ASMy2GBxnlw7ef+7RmYnIJrURioTfEjVYcFWrBm+CLmbiyD8t5 JjR1S6tf0lyrwYgbo3fPxGmapYFL8YXH9SF7cPEoOFsFbW+ccLrJYMpFMNg5eYs2qXAV vobvAFe5538esqezKQeVMwyvUuIyfMvzRJyLpv5qC01P5jCkQE7KhwAHZ+Sk6TsjnrbG PKEtyMBY6UljNYPbRBFXd1y3NasVtLdwWNVFfHLwtqzekxKBBh9PH8uC99KbogDM2Ver XQkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GFhOebCIVY9305umoTHvyuGYwsJV7rqPqIthGX4066Y=; b=jm0S/Z1k+p0d6TtCyVtawZ8hTJSLBxsQlsYPvtJNuNRqPE2oyR02o5F8jHHP02qagS T0bkRxr1o2FpsAXVd1nQzU0pry4747KAiMEj0t9jqjGvGpDeJ48jgcCBAbsfXnbOsqbF AxwOAAjL9mIZ2Zno84rKxpkhFW12J0Gcbu1gczvKeoREmu5+bCXaaRR8W5CD4r8udydq ru6D1Nbv7JGGv37eD2fcYYxpKOHpGMlB0oYf5bFzTKvstLumnuwe92oqji6r6/3OWcaA ZxhZRr+cSwShp8hyzGCcOcyUKs5/U7aUnWl1Q6KQ8kBQpnHjh3JPWiV/h6A1TrHY/y4d qgCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lJr5rVS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si930099edv.485.2020.09.24.20.19.23; Thu, 24 Sep 2020 20:19:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lJr5rVS3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726921AbgIYDRo (ORCPT + 99 others); Thu, 24 Sep 2020 23:17:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbgIYDRn (ORCPT ); Thu, 24 Sep 2020 23:17:43 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD86C0613CE; Thu, 24 Sep 2020 20:17:43 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id y14so1326341pgf.12; Thu, 24 Sep 2020 20:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GFhOebCIVY9305umoTHvyuGYwsJV7rqPqIthGX4066Y=; b=lJr5rVS3EHxw7jY5nSbP0lDOufZ3OYt81hsRe4vEKPh5mkgo5R6V2ImQs63ybWj9ou Uc/JRqJGGWCfmpELAgT4nF4CSrS4RsYbyeS0wt/oikMzJpcKI7DNDVh7cr65S9Wu+ndl pwSDknuOcJrirX8ibSiX7zUhuEvY7U9eljIXXMXIb0EJ32lksyNHe4aNfodGgh6ccdwD G+xusewxepvO2j3nhb68FMgXOBEkXHL3n3OmkP9dVBPw903QGBEk6X0uMDPxpvPIbZNd cot8LU8Vwsr17W3j95Ja2UcklUR4nmbUv+Uw2U9cx40vOpT+JdI3X8vS2eVBWVzUOzpT p7jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GFhOebCIVY9305umoTHvyuGYwsJV7rqPqIthGX4066Y=; b=rnqKE9Vp85V/uZCdMhjEasND1uHgRKXexyUa6sduJqD9eBSz1FZT4ESyVnFcCU1+6e fyExINFGktOK+lPZpxvIQZgEH1io0N38oiF25wOX9TqxwdK2QJ2djHj/F00vYmikqfE9 LBe3nSKvYh7djVtd3wVmsN6s6VwhXs7zSqBrHcyDfjUiw3EFqeSti7N9Podhci+J3+fL 1Lc688RT+qVL0m9O1XBtLU/z86LYhZboatxOvUZao3b1KqEV7OwZJzs0cJQhyl+Jk4Y5 pgitJ1LZwdss8P11XgS5wTqYATpw+MAEZOu6TlwcCweEsk9uY7jjf9Bn2GANupwbnq3U P0uA== X-Gm-Message-State: AOAM531yy5S3Ud6sRxdrnk++4kKZZyJimEgZ+aEwlC/is1e4utUOxP4y caOHSdyNu23SUkMC7uDiYg== X-Received: by 2002:a05:6a00:2b1:b029:142:440b:fca9 with SMTP id q17-20020a056a0002b1b0290142440bfca9mr2190544pfs.15.1601003863194; Thu, 24 Sep 2020 20:17:43 -0700 (PDT) Received: from localhost.localdomain ([47.242.131.39]) by smtp.gmail.com with ESMTPSA id i9sm803697pfo.138.2020.09.24.20.17.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Sep 2020 20:17:42 -0700 (PDT) From: Pujin Shi To: Alexander Viro Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, shipujin.t@gmail.com Subject: [PATCH] fs/d_path.c: Supply missing internal.h include file Date: Fri, 25 Sep 2020 11:16:51 +0800 Message-Id: <20200925031651.1318-1-shipujin.t@gmail.com> X-Mailer: git-send-email 2.18.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If the header file containing a function's prototype isn't included by the sourcefile containing the associated function, the build system complains of missing prototypes. Fixes the following W=1 kernel build warning(s): fs/d_path.c:311:7: warning: no previous prototype for ‘simple_dname’ [-Wmissing-prototypes] Signed-off-by: Pujin Shi --- fs/d_path.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/d_path.c b/fs/d_path.c index 0f1fc1743302..745dc1f77787 100644 --- a/fs/d_path.c +++ b/fs/d_path.c @@ -7,6 +7,7 @@ #include #include #include "mount.h" +#include "internal.h" static int prepend(char **buffer, int *buflen, const char *str, int namelen) { -- 2.18.1