Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2419187imj; Mon, 18 Feb 2019 05:46:55 -0800 (PST) X-Google-Smtp-Source: AHgI3IbQaixS721ffoZHbn/FAHsuhE/Vol0JWA10XivZ0E9unkyQGMp4+Y1RZ7DLcgSNwM3e5uTP X-Received: by 2002:a17:902:2867:: with SMTP id e94mr25744156plb.264.1550497615871; Mon, 18 Feb 2019 05:46:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497615; cv=none; d=google.com; s=arc-20160816; b=uT2r+zInQzfT7Ewu06+XkePUuhs7dQKSvgHNt+3M1yzWJhUSv64oybR+nCE5ZU9I54 0B8gl9WNgTyR8zqRKY7zrBmSgtPZuzhhqL3M4FD7w/KE1BpLZ7VhhAbwPHkh7uNP4Sj9 G8iqA4a7VS1sfRiCCTrJT9SdUrKEoH0nIRQ5rI0VKdcW8YgOQrKC7oxzJdN/vYoxKZqq jyx24Umzbf4LIDA4PYX907l8uOn3xcwPL9hO1Zsr3gjYaWAt84aOovPezk+93i8NYEja NWL2RbgwDLmqSaagenZTuCHvvXAlZzKe5gQPfg7KON5f+5wcjV0xF0ul74h+Bx6O0/kE uc/A== 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:date:subject:cc:to:from :dkim-signature; bh=iZCEbqvuPYM0o/t1tOYvQQXOc9SYnrV6rRZnbJJG2Jw=; b=T7wPhrNVRxDW3EmA9Sl/E+qV1MwVVEhitbwRn9j/vAauSrAX8SE9YCVe4GVug0Tts3 tlI+18+EwpMujfNtVwaMmWyahfPO6ePCvw/GzQca0WNv1+zO0AV48aEpcETeGSQYdoEC I8+g8em5AKMMcwzbphM7PUY7yBQkmxbBEQTDKV9Rcoe7SzS8Y5qQRbEFF5cg+iXumKDs MLEsLODwTV/nA75prF8wLscna1kOahK9FIQHB4M/cMvatVZjXwrCrwpunvSXSUCyj6gS JfyaVQPe5sLR38SmA+ZywLxuhp66nF1dHBKn6j8WAwvUhuhn0sgId76Er48r5PXa5n0F qbWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qrfRk6BJ; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc12si2714445plb.13.2019.02.18.05.46.40; Mon, 18 Feb 2019 05:46:55 -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=@gmail.com header.s=20161025 header.b=qrfRk6BJ; 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 sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731124AbfBRNe7 (ORCPT + 99 others); Mon, 18 Feb 2019 08:34:59 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:35352 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728394AbfBRNe6 (ORCPT ); Mon, 18 Feb 2019 08:34:58 -0500 Received: by mail-qt1-f196.google.com with SMTP id p48so19149498qtk.2 for ; Mon, 18 Feb 2019 05:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iZCEbqvuPYM0o/t1tOYvQQXOc9SYnrV6rRZnbJJG2Jw=; b=qrfRk6BJJMSr4pSUysZmywbtT4SwpoXaRLmbkG1uewg/6rXYpa1H5ch3eTcKpmFpsv YVd+pVpk0jnkzdVyyppQfmZId/fMnvBSeTIhYOvKTyKCnsduldZsjjrbHWS7T8dGdGa7 440mUWeDR/+kefgB6F7f9MxUPxFpbxyKJIZQix2hvw48sGdGj3coECQ4jgvaIdrsJkoN s26fA33TSHBbIIdC7romiJXREvykhEBy84duWnn0JvIi2vbmHdcfuPwBdX2WPRJZugmV v/2ve1MfltfjaIN+wdELavPQ16qExIwCzSv69bMmsl7vmXZd1ffIxxWxIZsQsc7Qnuo4 kOYQ== 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:mime-version:content-transfer-encoding; bh=iZCEbqvuPYM0o/t1tOYvQQXOc9SYnrV6rRZnbJJG2Jw=; b=YvvPAFj8RDm+XGro+vU2YZMaT1UBUPUpgjBqqMxQ1o+W1Px4cEz5h6g0YTKqhAlzOP 6gB8VIgc2UfJbRNucifg9N6ymAX+Au/MmTsJQJhem/sxTFiZjmVPmy6gIQLfx7Qds6+U /RBslYDW3F2RvWw6N2PyauqwlJBQzD0E1Tdys8LA7oJUpjlgHY+mpr4XKea1EpDUeRFc eZbwD1oMocdzmjQn0NSdgkTYR1eaWcCrM0eP5/Wyax6YzKbvOqI/1kE9NFVnuQnxHWgQ jfpzN4wT4Pbj/O36l9IkBrnKGZh3OpOAlsfJW/LQSDhJk5AXqHHDspO5O2w0e2sGJ29H eIgQ== X-Gm-Message-State: AHQUAuYaihe+QlRVhQ8SfPi6KMIMTwyaiIymTYPdQvzPO0B25T/p+WDu bEq088kGzn/UEuCq6KV1eJAhvth5L70= X-Received: by 2002:ac8:29b7:: with SMTP id 52mr18119587qts.266.1550496897948; Mon, 18 Feb 2019 05:34:57 -0800 (PST) Received: from nessie.verizon.net (pool-100-15-144-194.washdc.fios.verizon.net. [100.15.144.194]) by smtp.gmail.com with ESMTPSA id k62sm7212821qte.86.2019.02.18.05.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 05:34:57 -0800 (PST) From: Dan Robertson X-Google-Original-From: Dan Robertson To: kieran.bingham@ideasonboard.com, jan.kiszka@siemens.com, linux-kernel@vger.kernel.org Cc: Dan Robertson Subject: [PATCH 1/1] scripts/gdb: fix linux constants Date: Mon, 18 Feb 2019 13:25:12 +0000 Message-Id: <20190218132512.19988-2-dan@dlrobertson.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218132512.19988-1-dan@dlrobertson.com> References: <07923abd-117d-2a33-2700-7db0840eacad@ideasonboard.com> <20190218132512.19988-1-dan@dlrobertson.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The linux constants MS_RDONLY, MS_SYNCHRONOUS, MS_MANDLOCK, MS_DIRSYNC, MS_NOATIME, and MS_NODIRATIME were previously defined in linux/fs.h. Following e262e32d6bde0f77fb0c95d977482fc872c51996 the constants are now defined in uapi/linux/mount.h. The new location of the defined constants needs to be included in constants.py template in order for the correct constants to be generated. Fixes: e262e32d6bde ("vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled") Signed-off-by: Dan Robertson --- scripts/gdb/linux/constants.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gdb/linux/constants.py.in b/scripts/gdb/linux/constants.py.in index 7aad82406422..6c164761d986 100644 --- a/scripts/gdb/linux/constants.py.in +++ b/scripts/gdb/linux/constants.py.in @@ -12,9 +12,9 @@ * */ -#include #include #include +#include /* We need to stringify expanded macros so that they can be parsed */ @@ -36,7 +36,7 @@ import gdb -/* linux/fs.h */ +/* uapi/linux/mount.h */ LX_VALUE(MS_RDONLY) LX_VALUE(MS_SYNCHRONOUS) LX_VALUE(MS_MANDLOCK) -- 2.20.1