Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp262118imj; Fri, 15 Feb 2019 23:20:20 -0800 (PST) X-Google-Smtp-Source: AHgI3Ias4ELUvNOUfXPGdVdEfZ4VuZmaw37jKTy0DCuQD8PbiYu39m0JhvGuEDXmfkX1uii9J1CW X-Received: by 2002:a63:2ccb:: with SMTP id s194mr8979933pgs.214.1550301620784; Fri, 15 Feb 2019 23:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550301620; cv=none; d=google.com; s=arc-20160816; b=X/De+hDF/w/EbGYE8SQaoMcJjBu3m7zEkyWckgaLX1Ktk080G/R7ATMwFPGGz51UcN 20j+NqI4U7rNlW+dMYBZd3Y8TGo04hQD90jqzNzm9tDQastWLlxV+pAH86w0VsB90BA8 gS3nyBQRFHbElTnFwf9gjqCEU27XTs8Fu4lIDUQ0/oIj7yZRreHPpNwYWTeo8h4286y/ kHxfrjm5Sbrb0Y7lWxwu+OTyo0bJPJ0tMnx5mC43KzniDPHIsB7P4s5mFU94kqpV0grK 38NdbqV4vyewQR9q1logDcjaelg2Q3tH6D6/+8/lcVVsi8dclM45mOuMMBKzjhZvGjfg xYRw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:cc:openpgp:from:references:to :subject:reply-to:dkim-signature; bh=NI8p0smZSHEpP1hgTqDz8CTzHn3S51kK6lroCuAW4Ec=; b=qAL/ugnYvkKBCC3kBoHkK+nsaNKMcGLIeShLf5oyjqLFNX1xcbWPVfK8n6VrVXjgdc TVZ8pOAwraaK6j706tpp1C79fFgOh7OC9xhMKOcGJCOJDI5MmejDxjfb0541voCtuRqG B8JGeWF3JT6LjDHOvAMd+4aRw5OygvIljXZYtHwLI8vTZ8yuzmHmpl+oPGGCWox5Lp2z nxdhu2E2G67g7oNegeTFBwpHpZOqVR+eehc5UseqJX1qETrDZd3xnp592K5JWF+jeahu Me3ArOWhoiVNDoaLYcMnLUHWoAxH3lDwpiNJAOa+6Rjhp8kObgyC+F0wCjSGwxIqeAiM Wmvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=eBvNryl7; 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 p7si7230880pgh.84.2019.02.15.23.20.05; Fri, 15 Feb 2019 23:20:20 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=eBvNryl7; 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 S2391077AbfBOUYQ (ORCPT + 99 others); Fri, 15 Feb 2019 15:24:16 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:34074 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbfBOUYQ (ORCPT ); Fri, 15 Feb 2019 15:24:16 -0500 Received: from [192.168.1.72] (host86-165-126-182.range86-165.btcentralplus.com [86.165.126.182]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 850262D6; Fri, 15 Feb 2019 21:24:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1550262253; bh=6ibiNSwmops1A6bHBJHcFsKYhR97FHV+CcFuFuvu8yo=; h=Reply-To:Subject:To:References:From:Cc:Date:In-Reply-To:From; b=eBvNryl7hXaoiG5T9tKNwsS0xkpNyMpGNZC9CzpS7Rg9VwG+IyoQ+C8NSXeZM/ahN BS73+u2cxBRerCyRBz9GuDHbNHfteSLpowf9BXtYvbbb4NVJ+kkNBYE7zar4w3Tw8I 6P9NMlWV6X8XYi4Zheia42dynAM+0j1/5r4ViuL0= Reply-To: kieran.bingham@ideasonboard.com Subject: Re: [PATCH] scripts/gdb: fix linux constants To: Dan Robertson , Jan Kiszka References: <20190215191713.GA28287@nessie> From: Kieran Bingham Openpgp: preference=signencrypt Cc: felipe.balbi@linux.intel.com, Linux Kernel Mailing List Autocrypt: addr=kieran.bingham@ideasonboard.com; keydata= mQINBFYE/WYBEACs1PwjMD9rgCu1hlIiUA1AXR4rv2v+BCLUq//vrX5S5bjzxKAryRf0uHat V/zwz6hiDrZuHUACDB7X8OaQcwhLaVlq6byfoBr25+hbZG7G3+5EUl9cQ7dQEdvNj6V6y/SC rRanWfelwQThCHckbobWiQJfK9n7rYNcPMq9B8e9F020LFH7Kj6YmO95ewJGgLm+idg1Kb3C potzWkXc1xmPzcQ1fvQMOfMwdS+4SNw4rY9f07Xb2K99rjMwZVDgESKIzhsDB5GY465sCsiQ cSAZRxqE49RTBq2+EQsbrQpIc8XiffAB8qexh5/QPzCmR4kJgCGeHIXBtgRj+nIkCJPZvZtf Kr2EAbc6tgg6DkAEHJb+1okosV09+0+TXywYvtEop/WUOWQ+zo+Y/OBd+8Ptgt1pDRyOBzL8 RXa8ZqRf0Mwg75D+dKntZeJHzPRJyrlfQokngAAs4PaFt6UfS+ypMAF37T6CeDArQC41V3ko lPn1yMsVD0p+6i3DPvA/GPIksDC4owjnzVX9kM8Zc5Cx+XoAN0w5Eqo4t6qEVbuettxx55gq 8K8FieAjgjMSxngo/HST8TpFeqI5nVeq0/lqtBRQKumuIqDg+Bkr4L1V/PSB6XgQcOdhtd36 Oe9X9dXB8YSNt7VjOcO7BTmFn/Z8r92mSAfHXpb07YJWJosQOQARAQABtDBLaWVyYW4gQmlu Z2hhbS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kUzY1Lc+OtwiGmXTwYsPZjjAaDX35J/RSKAoy5wGo/YFA JxB1gWThL4kOTbsqqXj9GLcyOImkW0lJGGR3o/fV91Zh63S5TKnf2YGGGzxki+ADdxVQAm+Q sbsRB8KNNvVXBOVNwko86rQqF9drZuw= Organization: Ideas on Board Message-ID: <07923abd-117d-2a33-2700-7db0840eacad@ideasonboard.com> Date: Fri, 15 Feb 2019 20:24:08 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190215191713.GA28287@nessie> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dan, Thank you for the patch, On 15/02/2019 19:17, Dan Robertson wrote: > 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. > This commit was pipped to the post by a similar patch [0] from Felipe Balbi [0] https://lore.kernel.org/lkml/20190215112938.25574-1-felipe.balbi@linux.intel.com/ Combined together they would form a complete patch, but this one could do with the Fixes: tag such as Fixes: e262e32d6bde "vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled" With a Fixes: tag: Reviewed-by: Kieran Bingham > 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 Whereas Felipe's patch does not include this change (which I think it looks like it should) How should we proceed with these two competing patches? Any preference from anyone? Content wise, I feel like this one is in the lead - just missing the Fixes: tag, but Felipe's won the race... -- Kieran > #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) > -- Regards -- Kieran