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)
commita2d7764b3731260c59245e3fe4ce8bec7ec7bd27
treedf82070e7f5f59674f8e16fa91b586a9cfa85231
parentce2ceb9b1cff777c7d8beb368eddc3b8e45381f6
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>
drivers/net/ipa/gsi_trans.h