OSDN Git Service

net: ipa: declare the page pointer type in "gsi_trans.h"
authorAlex Elder <elder@linaro.org>
Thu, 7 Jan 2021 23:34:03 +0000 (17:34 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 Jan 2021 21:51:37 +0000 (13:51 -0800)
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
builds.

Fix this by adding a declaration of struct page to the top of
"gsi_trans.h".

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi_trans.h

index 4d4606b..3a4ab8a 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "ipa_cmd.h"
 
+struct page;
 struct scatterlist;
 struct device;
 struct sk_buff;