On 8/3/2020 4:54 PM, David Ahern wrote:
On 8/3/20 5:30 PM, Jacob Keller wrote:
quoted
Slightly unrelated: but the recent change to using a bitfield32 results
in a "GENMASK is undefined".. I'm not sure what the proper way to fix
this is, since we'd like to still use GENMASK to define the supported
bitfields. I guess we need to pull in more headers? Or define something
in include/utils.h?
I see that include/linux/bits.h has been pulled into the tools directory
for perf and power tools (ie., works fine in userspace).
iproute2 is GPL so should be good from a licensing perspective to copy
into iproute2. Stephen: any objections?
Hmm... Actually, no other uapi header uses GENMASK.. Perhaps its better
to just avoid using it in the uapi/linux/devlink.h header...