[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C266KL0CLET8.Z2G09QJ83ZWK@maharaja>
Date: Mon, 20 Apr 2020 09:37:42 -0700
From: "Daniel Xu" <dxu@...uu.xyz>
To: "Christoph Hellwig" <hch@...radead.org>
Cc: <linux-kernel@...r.kernel.org>, <bpf@...r.kernel.org>,
<kernel-team@...com>, <jolsa@...nel.org>,
<brendan.d.gregg@...il.com>, <andrii.nakryiko@...il.com>,
<ast@...nel.org>
Subject: Re: [RFC] uapi: Convert stat.h #define flags to enums
Hi Christoph,
On Sun Apr 19, 2020 at 6:30 PM PST, Christoph Hellwig wrote:
> And that breaks every userspace program using ifdef to check if a
> symbolic name has been defined.
How about shadowing #define's? Like for `enum nfnetlink_groups` in
include/uapi/linux/netfilter/nfnetlink.h .
Thanks,
Daniel
Powered by blists - more mailing lists