osmith has uploaded this change for review.

View Change

include/linux/gtp.h: fix GTPA_MAX

Apply same fix as done by Pablo in linux.git:
> Subtract one to __GTPA_MAX, otherwise GTPA_MAX is off by 2

Change-Id: I42a358fc795d0e593e2c5509dcfa6ffdbad3cbfa
---
M include/linux/gtp.h
1 file changed, 13 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/libgtpnl refs/changes/28/34828/1
diff --git a/include/linux/gtp.h b/include/linux/gtp.h
index c525cb3..5d37b1c 100644
--- a/include/linux/gtp.h
+++ b/include/linux/gtp.h
@@ -28,6 +28,6 @@
GTPA_PAD,
__GTPA_MAX,
};
-#define GTPA_MAX (__GTPA_MAX + 1)
+#define GTPA_MAX (__GTPA_MAX - 1)

#endif /* _UAPI_LINUX_GTP_H_ */

To view, visit change 34828. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: libgtpnl
Gerrit-Branch: master
Gerrit-Change-Id: I42a358fc795d0e593e2c5509dcfa6ffdbad3cbfa
Gerrit-Change-Number: 34828
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange