tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c7d4c1fd91ab4a6d2620497921a9c6bf54650ab8
commit: 3bbfe9871005f38df2955b2e125933edf1d2feef [4273/10489] firmware: arm_ffa: Add
initial Arm FFA driver support
config: arm64-randconfig-r024-20210617 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 3bbfe9871005f38df2955b2e125933edf1d2feef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/firmware/arm_ffa/driver.c:123: warning: expecting
prototype for FF(). Prototype was for FFA_PAGE_SIZE() instead
vim +123 drivers/firmware/arm_ffa/driver.c
110
111 #define SENDER_ID_MASK GENMASK(31, 16)
112 #define RECEIVER_ID_MASK GENMASK(15, 0)
113 #define SENDER_ID(x) ((u16)(FIELD_GET(SENDER_ID_MASK, (x))))
114 #define RECEIVER_ID(x) ((u16)(FIELD_GET(RECEIVER_ID_MASK, (x))))
115 #define PACK_TARGET_INFO(s, r) \
116 (FIELD_PREP(SENDER_ID_MASK, (s)) | FIELD_PREP(RECEIVER_ID_MASK, (r)))
117
118 /**
119 * FF-A specification mentions explicitly about '4K pages'. This should
120 * not be confused with the kernel PAGE_SIZE, which is the translation
121 * granule kernel is configured and may be one among 4K, 16K and 64K.
122 */
123 #define FFA_PAGE_SIZE SZ_4K
124 /*
125 * Keeping RX TX buffer size as 4K for now
126 * 64K may be preferred to keep it min a page in 64K PAGE_SIZE config
127 */
128 #define RXTX_BUFFER_SIZE SZ_4K
129
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org