From 7ed895f6b7924f1afebe4bf78f66342e694f8f6e Mon Sep 17 00:00:00 2001 From: Ramji Jiyani Date: Sun, 23 Jul 2023 08:28:40 +0000 Subject: [PATCH] ANDROID: GKI: Add Android ABI padding to wwan_ops Try to mitigate potential future api changes by adding a padding to struct wwan_ops. Fixes: 214e6f268b6a ("ANDROID: GKI: Add WWAN as GKI protected module") Bug: 287170531 Test: bazel run //common:kernel_aarch64_dist & TH Change-Id: I0a6f8a801503228af11dc227ce703b886a74f288 Signed-off-by: Ramji Jiyani --- include/linux/wwan.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/wwan.h b/include/linux/wwan.h index 5ce2acf444fb..7c2d5db089a1 100644 --- a/include/linux/wwan.h +++ b/include/linux/wwan.h @@ -7,6 +7,7 @@ #include #include #include +#include /** * enum wwan_port_type - WWAN port types @@ -165,6 +166,9 @@ struct wwan_ops { u32 if_id, struct netlink_ext_ack *extack); void (*dellink)(void *ctxt, struct net_device *dev, struct list_head *head); + + ANDROID_KABI_RESERVE(1); + ANDROID_KABI_RESERVE(2); }; int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,