* [PATCH net-next] pkt_sched: Include const.h
@ 2019-07-09 21:45 David Ahern
2019-07-09 21:48 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: David Ahern @ 2019-07-09 21:45 UTC (permalink / raw)
To: davem; +Cc: netdev, David Ahern, Vedang Patel
From: David Ahern <dsahern@gmail.com>
Commit 9903c8dc7342 changed TC_ETF defines to use _BITUL instead of BIT
but did not add the dependecy on linux/const.h. As a consequence,
importing the uapi headers into iproute2 causes builds to fail. Add
the dependency.
Fixes: 9903c8dc7342 ("etf: Don't use BIT() in UAPI headers.")
Cc: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
---
This is meant for net-next as in 5.3 merge window.
include/uapi/linux/pkt_sched.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
index 390efb54b2e0..1f623252abe8 100644
--- a/include/uapi/linux/pkt_sched.h
+++ b/include/uapi/linux/pkt_sched.h
@@ -2,6 +2,7 @@
#ifndef __LINUX_PKT_SCHED_H
#define __LINUX_PKT_SCHED_H
+#include <linux/const.h>
#include <linux/types.h>
/* Logical priority bands not depending on specific packet scheduler.
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] pkt_sched: Include const.h
2019-07-09 21:45 [PATCH net-next] pkt_sched: Include const.h David Ahern
@ 2019-07-09 21:48 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-07-09 21:48 UTC (permalink / raw)
To: dsahern; +Cc: netdev, dsahern, vedang.patel
From: David Ahern <dsahern@kernel.org>
Date: Tue, 9 Jul 2019 14:45:17 -0700
> From: David Ahern <dsahern@gmail.com>
>
> Commit 9903c8dc7342 changed TC_ETF defines to use _BITUL instead of BIT
> but did not add the dependecy on linux/const.h. As a consequence,
> importing the uapi headers into iproute2 causes builds to fail. Add
> the dependency.
>
> Fixes: 9903c8dc7342 ("etf: Don't use BIT() in UAPI headers.")
> Cc: Vedang Patel <vedang.patel@intel.com>
> Signed-off-by: David Ahern <dsahern@gmail.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-09 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09 21:45 [PATCH net-next] pkt_sched: Include const.h David Ahern
2019-07-09 21:48 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.