Received: by 10.223.185.116 with SMTP id b49csp6548969wrg; Wed, 28 Feb 2018 11:19:56 -0800 (PST) X-Google-Smtp-Source: AH8x227I0qRjI7baQLg+u2Akqi3EmJEnVzAQmrAA0X+V+4EHHiN5a03pyVA0/93t7tN+4r6KaWWY X-Received: by 10.99.151.26 with SMTP id n26mr15197750pge.370.1519845596691; Wed, 28 Feb 2018 11:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519845596; cv=none; d=google.com; s=arc-20160816; b=bGLs3ThidMgQeq5C3y4hR3p6pD8bkdAWzFu1hYwQRGzkowj6IZutJbZiw1x8YzZBGE RxMwppx27weaWF+Mx0PuseFJYCQ/v3rEt5LHJZz6h6WCTYPSvbcZBbzw4/gZ5FLoLxn6 2oCg4vhvI9dmzf2AKOAA/EZSQpfHzqmqQOqaEN2AsxooJmDkdEnpwgHUTUDAkseq89LA +tYc07iqOcZvRHdN8TVucTTi7hHTqn/WwGgQ3mbZmmbeH/NpvlMqvdoLdLvolaCisqvK ZMPdbENshTu37GxIUwKGq1WtwAITQ5CRrC2HIwe+yIuCJ2Rt/sfb+RY2EIXsfPlNxaLM zBMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=GbDO4MniycILrwvkum6b6fDHKbBvZLm71MZI9FoyV8s=; b=yD8iYrajbMj1NGyWmHkSn0/KjGirQheDtP6DAuxYUOAlcoYQjoNjfrLNauxeAI3ye+ k11HJxwfx9R/QKmKCtCCNwGh1HnncSgUBCreHg9rjk+frC1RXqPTa+M4GzJXysFwUz8g xApxEcM2/qy6f3Mn8jZsYCMD8OrYiYLLrdhxvrLHo7JldseoO/FzhCIH60d6SwgA1eoH dPt9AbG27rLo334ps+VaPNZ8y8hTvZDTorZkAqyc16uARRVYsS5X/tzKHPlOkrJOGGYS elfjiHIunuetSzWKFur+fjR/DdOE9xHVE0KdRZcVx5Kve39tcOo/37CtsODaPgo0xB6+ dbNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=cA3nhr7e; 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 5si1666055pfx.208.2018.02.28.11.19.41; Wed, 28 Feb 2018 11:19:56 -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=@rasmusvillemoes.dk header.s=google header.b=cA3nhr7e; 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 S933349AbeB1TSR (ORCPT + 99 others); Wed, 28 Feb 2018 14:18:17 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51917 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933185AbeB1TSP (ORCPT ); Wed, 28 Feb 2018 14:18:15 -0500 Received: by mail-wm0-f65.google.com with SMTP id h21so7146645wmd.1 for ; Wed, 28 Feb 2018 11:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GbDO4MniycILrwvkum6b6fDHKbBvZLm71MZI9FoyV8s=; b=cA3nhr7erQV8OjviVTFDxKTJYxC/VsX+TG0opjhrcg8ZhWx1ApZe8FlJndG26XpOxr j6JUmV49/8aJ0IrEeGdelr0zKoB3IZkd7Vam1rMyGWSdvwy2nv4aomG4pEid4GP+u2PA 4bGNQQWPdS3/WcLYqAKAlNh7rnpT6/8ipugs4= 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:in-reply-to :references; bh=GbDO4MniycILrwvkum6b6fDHKbBvZLm71MZI9FoyV8s=; b=P6OC83WFF1sZjPQwnVnAXYA1WiJBOG5kaek+WJc+VLz5dvjC7LnRRFZ/wQr4tEKnCh k8rRVOeJKT36AU0FMybWjL+za0gF3c955wkvcnj7f1a+SwqADJqsFLqv50f1BYLdWdAM Unmvx8/9aodAluz154kg6xDjiChyv8jZUCpybrAodUE+gtKFKSF1sHSVAjY2gbh1RpRS eJvBPZlZiNgNlRtrbVorIlkV5JaQib7RJfbJ/HpzIpy0LnwFn9a3G55+rnPEBRHLWNFT Ey5nUEgA+9WCfpqzR46Lod6DyaUFE+zFdno4h1MHjyP5aksk7947Aw5LvQPWHJpLJA1y U0vg== X-Gm-Message-State: APf1xPCmBA0b9uWa+lNloKh63ybRUhP++Nv5u672npo5wUh/hrh6Sgd+ lC2+rorWjeucAK4sD/vmJVjU5w== X-Received: by 10.80.202.75 with SMTP id e11mr23988448edi.32.1519845493668; Wed, 28 Feb 2018 11:18:13 -0800 (PST) Received: from prevas-ravi.waoo.dk (dhcp-5-186-126-104.cgn.ip.fibianet.dk. [5.186.126.104]) by smtp.gmail.com with ESMTPSA id l60sm2063613edl.56.2018.02.28.11.18.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Feb 2018 11:18:12 -0800 (PST) From: Rasmus Villemoes To: Masahiro Yamada , Michal Marek Cc: Rasmus Villemoes , Al Viro , Richard Weinberger , user-mode-linux-devel@lists.sourceforge.net, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] fixdep: remove stale references to uml-config.h Date: Wed, 28 Feb 2018 20:17:35 +0100 Message-Id: <20180228191805.20094-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.15.1 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org uml-config.h hasn't existed in this decade (87e299e5c750 - x86, um: get rid of uml-config.h). The few remaining UML_CONFIG instances are defined directly in terms of their real CONFIG symbol in common-offsets.h, so unlike when the symbols got defined via a sed script, anything that uses UML_CONFIG_FOO now should also automatically pick up a dependency on CONFIG_FOO via the normal fixdep mechanism (since common-offsets.h should at least recursively be a dependency). Hence I believe we should actually be able to ignore the HELLO_CONFIG_BOOM cases. Cc: Al Viro Cc: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net Signed-off-by: Rasmus Villemoes --- scripts/basic/fixdep.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index fa3d39b6f23b..d7fbe545dd5d 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -93,14 +93,6 @@ * (Note: it'd be easy to port over the complete mkdep state machine, * but I don't think the added complexity is worth it) */ -/* - * Note 2: if somebody writes HELLO_CONFIG_BOOM in a file, it will depend onto - * CONFIG_BOOM. This could seem a bug (not too hard to fix), but please do not - * fix it! Some UserModeLinux files (look at arch/um/) call CONFIG_BOOM as - * UML_CONFIG_BOOM, to avoid conflicts with /usr/include/linux/autoconf.h, - * through arch/um/include/uml-config.h; this fixdep "bug" makes sure that - * those files will have correct dependencies. - */ #include #include @@ -286,7 +278,6 @@ static int is_ignored_file(const char *s, int len) { return str_ends_with(s, len, "include/generated/autoconf.h") || str_ends_with(s, len, "include/generated/autoksyms.h") || - str_ends_with(s, len, "arch/um/include/uml-config.h") || str_ends_with(s, len, "include/linux/kconfig.h") || str_ends_with(s, len, ".ver"); } -- 2.15.1