]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdea188e0cf9d20211df3c2c3832e8ff1287930c
treedf82070e7f5f59674f8e16fa91b586a9cfa85231
parent0c5b0f2369807b639718d4489170230d6d8c7e9e
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