Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15757785ybl; Tue, 31 Dec 2019 14:37:40 -0800 (PST) X-Google-Smtp-Source: APXvYqzWf0BZuax6uQF1PJuaxtaxM15k93XOVA4q7X8RlzY4S+74CkK7IhtLALbQoq9ONyNFXCn8 X-Received: by 2002:a17:906:5e4d:: with SMTP id b13mr79905214eju.266.1577831860288; Tue, 31 Dec 2019 14:37:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577831860; cv=none; d=google.com; s=arc-20160816; b=epNAullrIXJyELWzS0H8VWGZTPjR1aAceySDCS6E283qu7qogAZF1+c0RUDqnESwwo Oc0Y69rddeoJOGg0pfMQDw36YSCh5AeT8gZdJ38kO801C9COi1bhsq65afdogAcaIbv3 fPGONpH33xvl4UJ3ETvNANSRBjZz4ckEO7JkcQdxPEozs7BJNa2yDw/qqpyfEzle9pn7 E7GQ/kd0OSBUAT6qBEUZ09zhAQiALJmxjZI/uq4ucVGOwuAgP1tHDj5M+S6hkbklDbTu 1LYrcOaFLOymD5h7pO6JIswTtVpBZwUCXJXfDB7aPONekV09wE9IMUGRwGKa1T7+8Ny+ M/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=VpPUmHhDfaEYZl1KDkQNQIjtKkzxCfY5lyqOuKZ5XyE=; b=EX4dg6Rj9xQjdKDrg4Z3i5LePQv0x89vDmvU3xaxD95oWF6hw+46AZ7AAZONWy2qtz 0mCmdSgLU0Jqw5Dp4dIvBiUyhXAQRDH9suNZvxV4vWjWX0BCVly/hxnu1zCqTL/N/xvY Gxss1Mv1ZOZBVXHXcIuGicmpIyOEmu2VWVzSr1n8VHZepkhG9PhRL2PzgG/8YzQTBDma 07KW1BTdxjm2BFCmNP7Qn2nGVzZZA9JaGAN9IGuCfe8i5aVupt4N21ouFqKm9aNtalWK GGzYNgIwkqSHMiCzLt2IYL5ANCfLyTaQRayfEW1zENBGnYHjxlXJ38rY0Cw7Et+BZu3L 2eng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=b8cExrdd; 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 i12si31554403edn.233.2019.12.31.14.37.13; Tue, 31 Dec 2019 14:37:40 -0800 (PST) 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=@kernel.org header.s=default header.b=b8cExrdd; 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 S1727101AbfLaWdc (ORCPT + 99 others); Tue, 31 Dec 2019 17:33:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:56726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727031AbfLaWdc (ORCPT ); Tue, 31 Dec 2019 17:33:32 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE0E5205ED; Tue, 31 Dec 2019 22:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577831612; bh=QaZbUxjuLY1oPNTNyLwTGDZ9ozsSFFrFCBC1boCwOD0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b8cExrddR70yQfCVlcvn8ljGEw0XzycDsmGTgca2kgOKJDaKrWquZGTFbI+XFUM0k w/fZgXaPi1gTZHLlh6/5QBCZhmiqqd6yUzuNsxKyceGAysr49rt2A1keUOayLqwdSE 8/eB5jjSnDJFLqDVV3V8jqc8ffQwFNZwb3/5mbuY= Date: Tue, 31 Dec 2019 14:33:31 -0800 From: Andrew Morton To: Gang He Cc: "mark@fasheh.com" , "jlbec@evilplan.org" , "joseph.qi@linux.alibaba.com" , Masahiro Yamada , "linux-kernel@vger.kernel.org" , "ocfs2-devel@oss.oracle.com" Subject: Re: [PATCH] ocfs2: make local header paths relative to C files Message-Id: <20191231143331.9b77ee5709f2662c54d76a51@linux-foundation.org> In-Reply-To: <20191227022950.14804-1-ghe@suse.com> References: <20191227022950.14804-1-ghe@suse.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Dec 2019 02:30:15 +0000 Gang He wrote: > From: Masahiro Yamada > > Gang He reports the failure of building fs/ocfs2/ as an external module > of the kernel installed on the system: > > $ cd fs/ocfs2 > $ make -C /lib/modules/`uname -r`/build M=`pwd` modules > > If you want to make it work reliably, I'd recommend to remove ccflags-y > from the Makefiles, and to make header paths relative to the C files. > I think this is the correct usage of the #include "..." directive. > > Reported-by: Gang He > Signed-off-by: Masahiro Yamada > Reviewed-by: Gang He Your signed-off-by should appear here, since you were on the patch delivery path. I have made that change, OK?