* [linux-next:master 4273/10489] drivers/firmware/arm_ffa/driver.c:123: warning: expecting prototype for FF(). Prototype was for FFA_PAGE_SIZE() instead
@ 2021-06-17 2:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-17 2:56 UTC (permalink / raw)
To: Sudeep Holla; +Cc: kbuild-all, clang-built-linux, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]
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/commit/?id=3bbfe9871005f38df2955b2e125933edf1d2feef
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@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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31160 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-17 2:56 [linux-next:master 4273/10489] drivers/firmware/arm_ffa/driver.c:123: warning: expecting prototype for FF(). Prototype was for FFA_PAGE_SIZE() instead kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).