diff options
author | Alex Elder <elder@linaro.org> | 2021-01-07 17:34:03 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-09 13:51:37 -0800 |
commit | a2d7764b3731260c59245e3fe4ce8bec7ec7bd27 (patch) | |
tree | df82070e7f5f59674f8e16fa91b586a9cfa85231 /drivers/net | |
parent | ce2ceb9b1cff777c7d8beb368eddc3b8e45381f6 (diff) | |
download | linux-stable-a2d7764b3731260c59245e3fe4ce8bec7ec7bd27.tar.gz linux-stable-a2d7764b3731260c59245e3fe4ce8bec7ec7bd27.tar.bz2 linux-stable-a2d7764b3731260c59245e3fe4ce8bec7ec7bd27.zip |
net: ipa: declare the page pointer type in "gsi_trans.h"
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ipa/gsi_trans.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ipa/gsi_trans.h b/drivers/net/ipa/gsi_trans.h index 4d4606b5fa95..3a4ab8a94d82 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; |