From: Mohit P. Tahiliani Date: Wed, 22 Jan 2020 18:22:25 +0000 (+0530) Subject: pie: use U64_MAX to denote (2^64 - 1) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=805a5a23a4c4ee126e781bd14a1deb242395e817;p=openwrt%2Fstaging%2Fblogic.git pie: use U64_MAX to denote (2^64 - 1) Use the U64_MAX macro to denote the constant (2^64 - 1). Signed-off-by: Mohit P. Tahiliani Signed-off-by: Leslie Monis Signed-off-by: Gautam Ramakrishnan Signed-off-by: David S. Miller --- diff --git a/include/net/pie.h b/include/net/pie.h index 440213ec83eb..7ef375db5bab 100644 --- a/include/net/pie.h +++ b/include/net/pie.h @@ -10,8 +10,8 @@ #define QUEUE_THRESHOLD 16384 #define DQCOUNT_INVALID -1 -#define DTIME_INVALID 0xffffffffffffffff -#define MAX_PROB 0xffffffffffffffff +#define DTIME_INVALID U64_MAX +#define MAX_PROB U64_MAX #define PIE_SCALE 8 /* parameters used */