Skip to content

Commit

Permalink
net: ipa: declare the page pointer type in "gsi_trans.h"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Elder authored and Jakub Kicinski committed Jan 9, 2021
1 parent ce2ceb9 commit a2d7764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ipa/gsi_trans.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include "ipa_cmd.h"

struct page;
struct scatterlist;
struct device;
struct sk_buff;
Expand Down

0 comments on commit a2d7764

Please sign in to comment.