diff mbox series

[net-next,3/4] net: ipa: declare the page pointer type in "gsi_trans.h"

Message ID 20210107233404.17030-4-elder@linaro.org (mailing list archive)
State Accepted
Commit a2d7764b3731260c59245e3fe4ce8bec7ec7bd27
Headers show
Series net: ipa: support COMPILE_TEST | expand

Commit Message

Alex Elder Jan. 7, 2021, 11:34 p.m. UTC
The second argument to gsi_trans_page_add() is a page pointer.
That declaration is found in header files used by "gsi_trans.h" for
(at least) arm64 and x86 builds, but apparently not for alpha

Fix this by adding a declaration of struct page to the top of

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Elder <elder@linaro.org>
 drivers/net/ipa/gsi_trans.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/drivers/net/ipa/gsi_trans.h b/drivers/net/ipa/gsi_trans.h
index 4d4606b5fa951..3a4ab8a94d827 100644
--- a/drivers/net/ipa/gsi_trans.h
+++ b/drivers/net/ipa/gsi_trans.h
@@ -13,6 +13,7 @@ 
 #include "ipa_cmd.h"
+struct page;
 struct scatterlist;
 struct device;
 struct sk_buff;