Re: [PATCH 1/3] drm/ttm: move swapout logic around
by kernel test robot
Hi "Christian,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm-tip/drm-tip]
[also build test WARNING on next-20210319]
[cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master drm/drm-next v5.12-rc3]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Christian-K-nig/drm-ttm-move-swa...
base: git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-a005-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/824dca26fe395899b41d9790944ddea34...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Christian-K-nig/drm-ttm-move-swapout-logic-around/20210316-000551
git checkout 824dca26fe395899b41d9790944ddea345f7a6fd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/gpu/drm/ttm/ttm_device.c:42: warning: Function parameter or member 'ttm_global_mutex' not described in 'DEFINE_MUTEX'
drivers/gpu/drm/ttm/ttm_device.c:42: warning: expecting prototype for ttm_global_mutex(). Prototype was for DEFINE_MUTEX() instead
drivers/gpu/drm/ttm/ttm_device.c:110: warning: Function parameter or member 'ctx' not described in 'ttm_global_swapout'
drivers/gpu/drm/ttm/ttm_device.c:110: warning: Function parameter or member 'gfp_flags' not described in 'ttm_global_swapout'
>> drivers/gpu/drm/ttm/ttm_device.c:110: warning: expecting prototype for A buffer object shrink method that tries to swap out the first(). Prototype was for ttm_global_swapout() instead
vim +110 drivers/gpu/drm/ttm/ttm_device.c
104
105 /**
106 * A buffer object shrink method that tries to swap out the first
107 * buffer object on the global::swap_lru list.
108 */
109 long ttm_global_swapout(struct ttm_operation_ctx *ctx, gfp_t gfp_flags)
> 110 {
111 struct ttm_global *glob = &ttm_glob;
112 struct ttm_buffer_object *bo;
113 unsigned i;
114 int ret;
115
116 spin_lock(&glob->lru_lock);
117 for (i = 0; i < TTM_MAX_BO_PRIORITY; ++i) {
118 list_for_each_entry(bo, &glob->swap_lru[i], swap) {
119 uint32_t num_pages = bo->ttm->num_pages;
120
121 ret = ttm_bo_swapout(bo, ctx, gfp_flags);
122 /* ttm_bo_swapout has dropped the lru_lock */
123 if (!ret)
124 return num_pages;
125 if (ret != -EBUSY)
126 return ret;
127 }
128 }
129 spin_unlock(&glob->lru_lock);
130 return 0;
131 }
132 EXPORT_SYMBOL(ttm_global_swapout);
133
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
Re: [PATCH v2] bus: mhi: Add Qcom WWAN control driver
by kernel test robot
Hi Loic,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc3 next-20210319]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Loic-Poulain/bus-mhi-Add-Qcom-WW...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 144c79ef33536b4ecb4951e07dbc1f2b7fa99d32
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/727df932009e4a00b877f66f9a7765896...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Loic-Poulain/bus-mhi-Add-Qcom-WWAN-control-driver/20210309-045313
git checkout 727df932009e4a00b877f66f9a77658967e0d8a4
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/bus/mhi/wwan_ctrl.c: In function 'mhi_wwan_ctrl_open':
>> drivers/bus/mhi/wwan_ctrl.c:137:9: error: too many arguments to function 'mhi_prepare_for_transfer'
137 | ret = mhi_prepare_for_transfer(wwandev->mhi_dev, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/bus/mhi/wwan_ctrl.c:5:
include/linux/mhi.h:718:5: note: declared here
718 | int mhi_prepare_for_transfer(struct mhi_device *mhi_dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:14,
from drivers/bus/mhi/wwan_ctrl.c:4:
drivers/bus/mhi/wwan_ctrl.c: In function 'mhi_wwan_ctrl_probe':
drivers/bus/mhi/wwan_ctrl.c:442:48: error: 'MHI_MAX_MTU' undeclared (first use in this function); did you mean 'ETH_MAX_MTU'?
442 | wwandev->mtu = min_t(size_t, id->driver_data, MHI_MAX_MTU);
| ^~~~~~~~~~~
include/linux/minmax.h:18:39: note: in definition of macro '__typecheck'
18 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^
include/linux/minmax.h:42:24: note: in expansion of macro '__safe_cmp'
42 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:110:27: note: in expansion of macro '__careful_cmp'
110 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
| ^~~~~~~~~~~~~
drivers/bus/mhi/wwan_ctrl.c:442:17: note: in expansion of macro 'min_t'
442 | wwandev->mtu = min_t(size_t, id->driver_data, MHI_MAX_MTU);
| ^~~~~
drivers/bus/mhi/wwan_ctrl.c:442:48: note: each undeclared identifier is reported only once for each function it appears in
442 | wwandev->mtu = min_t(size_t, id->driver_data, MHI_MAX_MTU);
| ^~~~~~~~~~~
include/linux/minmax.h:18:39: note: in definition of macro '__typecheck'
18 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
| ^
include/linux/minmax.h:42:24: note: in expansion of macro '__safe_cmp'
42 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~
include/linux/minmax.h:110:27: note: in expansion of macro '__careful_cmp'
110 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
| ^~~~~~~~~~~~~
drivers/bus/mhi/wwan_ctrl.c:442:17: note: in expansion of macro 'min_t'
442 | wwandev->mtu = min_t(size_t, id->driver_data, MHI_MAX_MTU);
| ^~~~~
include/linux/minmax.h:42:2: error: first argument to '__builtin_choose_expr' not a constant
42 | __builtin_choose_expr(__safe_cmp(x, y), \
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/minmax.h:110:27: note: in expansion of macro '__careful_cmp'
110 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <)
| ^~~~~~~~~~~~~
drivers/bus/mhi/wwan_ctrl.c:442:17: note: in expansion of macro 'min_t'
442 | wwandev->mtu = min_t(size_t, id->driver_data, MHI_MAX_MTU);
| ^~~~~
drivers/bus/mhi/wwan_ctrl.c: At top level:
>> drivers/bus/mhi/wwan_ctrl.c:504:53: error: 'MHI_MAX_MTU' undeclared here (not in a function); did you mean 'ETH_MAX_MTU'?
504 | { .chan = MHI_WWAN_CTRL_PROTO_QCDM, .driver_data = MHI_MAX_MTU },
| ^~~~~~~~~~~
| ETH_MAX_MTU
vim +/mhi_prepare_for_transfer +137 drivers/bus/mhi/wwan_ctrl.c
117
118 static int mhi_wwan_ctrl_open(struct inode *inode, struct file *filp)
119 {
120 unsigned int minor = iminor(inode);
121 struct mhi_wwan_dev *wwandev = NULL;
122 int ret = 0;
123
124 /* Retrieve corresponding mhi_wwan_dev and get a reference */
125 mutex_lock(&mhi_wwan_ctrl_drv_lock);
126 wwandev = idr_find(&mhi_wwan_ctrl_idr, minor);
127 if (!wwandev) {
128 mutex_unlock(&mhi_wwan_ctrl_drv_lock);
129 return -ENODEV;
130 }
131 kref_get(&wwandev->ref_count);
132 mutex_unlock(&mhi_wwan_ctrl_drv_lock);
133
134 /* Start MHI channel(s) if not yet started and fill RX queue */
135 mutex_lock(&wwandev->mhi_dev_lock);
136 if (!wwandev->mhi_dev_open_count++) {
> 137 ret = mhi_prepare_for_transfer(wwandev->mhi_dev, 0);
138 if (!ret)
139 ret = mhi_wwan_ctrl_queue_inbound(wwandev);
140 if (ret)
141 wwandev->mhi_dev_open_count--;
142 }
143 mutex_unlock(&wwandev->mhi_dev_lock);
144
145 if (ret)
146 return ret;
147
148 filp->private_data = wwandev;
149
150 /* stream-like non-seekable file descriptor */
151 stream_open(inode, filp);
152
153 return 0;
154 }
155
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[block:io_uring-bio-cache 5/8] fs/io_uring.c:1178:47: error: 'struct io_comp_state' has no member named 'bio_cache'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-bio-cache
head: 02a7d585f8ec89e3022de62157180affb4aca7e3
commit: 12d0247e65530b9e4f601e97016e7c284cb537fc [5/8] io_uring: wire up bio allocation cache
config: x86_64-randconfig-s021-20210318 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/com...
git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block io_uring-bio-cache
git checkout 12d0247e65530b9e4f601e97016e7c284cb537fc
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
fs/io_uring.c: In function 'io_ring_ctx_alloc':
>> fs/io_uring.c:1178:47: error: 'struct io_comp_state' has no member named 'bio_cache'
1178 | bio_alloc_cache_init(&ctx->submit_state.comp.bio_cache);
| ^
fs/io_uring.c: In function 'io_prep_rw':
fs/io_uring.c:2794:48: error: 'struct io_comp_state' has no member named 'bio_cache'
2794 | kiocb->ki_bi_cache = &ctx->submit_state.comp.bio_cache;
| ^
fs/io_uring.c: In function 'io_req_caches_free':
fs/io_uring.c:8464:30: error: 'struct io_comp_state' has no member named 'bio_cache'
8464 | bio_alloc_cache_destroy(&cs->bio_cache);
| ^~
vim +1178 fs/io_uring.c
1125
1126 static struct io_ring_ctx *io_ring_ctx_alloc(struct io_uring_params *p)
1127 {
1128 struct io_ring_ctx *ctx;
1129 int hash_bits;
1130
1131 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
1132 if (!ctx)
1133 return NULL;
1134
1135 /*
1136 * Use 5 bits less than the max cq entries, that should give us around
1137 * 32 entries per hash list if totally full and uniformly spread.
1138 */
1139 hash_bits = ilog2(p->cq_entries);
1140 hash_bits -= 5;
1141 if (hash_bits <= 0)
1142 hash_bits = 1;
1143 ctx->cancel_hash_bits = hash_bits;
1144 ctx->cancel_hash = kmalloc((1U << hash_bits) * sizeof(struct hlist_head),
1145 GFP_KERNEL);
1146 if (!ctx->cancel_hash)
1147 goto err;
1148 __hash_init(ctx->cancel_hash, 1U << hash_bits);
1149
1150 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free,
1151 PERCPU_REF_ALLOW_REINIT, GFP_KERNEL))
1152 goto err;
1153
1154 ctx->flags = p->flags;
1155 init_waitqueue_head(&ctx->sqo_sq_wait);
1156 INIT_LIST_HEAD(&ctx->sqd_list);
1157 init_waitqueue_head(&ctx->cq_wait);
1158 INIT_LIST_HEAD(&ctx->cq_overflow_list);
1159 init_completion(&ctx->ref_comp);
1160 xa_init_flags(&ctx->io_buffers, XA_FLAGS_ALLOC1);
1161 xa_init_flags(&ctx->personalities, XA_FLAGS_ALLOC1);
1162 mutex_init(&ctx->uring_lock);
1163 init_waitqueue_head(&ctx->wait);
1164 spin_lock_init(&ctx->completion_lock);
1165 INIT_LIST_HEAD(&ctx->iopoll_list);
1166 INIT_LIST_HEAD(&ctx->defer_list);
1167 INIT_LIST_HEAD(&ctx->timeout_list);
1168 spin_lock_init(&ctx->inflight_lock);
1169 INIT_LIST_HEAD(&ctx->inflight_list);
1170 spin_lock_init(&ctx->rsrc_ref_lock);
1171 INIT_LIST_HEAD(&ctx->rsrc_ref_list);
1172 INIT_DELAYED_WORK(&ctx->rsrc_put_work, io_rsrc_put_work);
1173 init_llist_head(&ctx->rsrc_put_llist);
1174 INIT_LIST_HEAD(&ctx->tctx_list);
1175 INIT_LIST_HEAD(&ctx->submit_state.comp.free_list);
1176 INIT_LIST_HEAD(&ctx->submit_state.comp.locked_free_list);
1177 if (IS_ENABLED(CONFIG_BLOCK))
> 1178 bio_alloc_cache_init(&ctx->submit_state.comp.bio_cache);
1179 return ctx;
1180 err:
1181 kfree(ctx->cancel_hash);
1182 kfree(ctx);
1183 return NULL;
1184 }
1185
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Nathan,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196
commit: c39866f268f89868df17724cd2262d121552d8c9 arm/build: Always handle .ARM.exidx and .ARM.extab sections
date: 5 months ago
config: arm-randconfig-r003-20210319 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c39866f268f89868df17724cd2262d121552d8c9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/arasan-nand-controller.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/cadence-nand-controller.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/mxic_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/brcmnand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/brcmstb_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/bcm6368_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/bcm63138_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/brcmnand/iproc_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/plat_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/marvell_nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/nandsim.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/sharpsl.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/diskonchip.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/denali_dt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/denali.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/nand_ecc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/raw/nand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/nand/onenand/generic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/devices/sst25l.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/devices/mchp23k256.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/maps/plat-ram.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/maps/pcmciamtd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/maps/pxa2xx-flash.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/lpddr/lpddr2_nvm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/lpddr/lpddr_cmds.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/lpddr/qinfo_probe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/map_ram.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/gen_probe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/cfi_cmdset_0001.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/cfi_cmdset_0002.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/cfi_util.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/chips/cfi_probe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/parsers/sharpslpart.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mtd/parsers/afs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/dma-buf/dmabuf_selftests.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/intel-m10-bmc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/rave-sp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/mt6360-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/sky81452.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/dln2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/hi6421-pmic-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/retu-mfd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/lm3533-ctrlbank.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/lm3533-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/atmel-flexcom.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/ssbi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/qcom-pm8xxx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/max77686.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/da9150-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/da9062-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/lp3943.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/axp20x-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/axp20x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/tps65912-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/tps65912-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/tps65218.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/madera-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/madera-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/wcd934x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/htc-pasic3.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mfd/bcm590xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/xilinx_sdfec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/echo/echo.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/lattice-ecp3-config.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/isl29020.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/apds990x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/ics932s401.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/ad525x_dpot-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/ad525x_dpot-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/ad525x_dpot.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/lis3lv02d/lis3lv02d_i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/lis3lv02d/lis3lv02d_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/lis3lv02d/lis3lv02d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/eeprom/eeprom_93xx46.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/eeprom/eeprom_93cx6.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/eeprom/max6875.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/misc/eeprom/eeprom.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/base/test/test_async_driver_probe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/base/regmap/regmap-spi-avmm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/base/regmap/regmap-w1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/base/regmap/regmap-spmi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/base/regmap/regmap-slimbus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tidss/tidss.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panfrost/panfrost.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/lima/lima.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tve200/tve200_drm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/pl111/pl111_drm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/mxsfb/mxsfb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/arc/arcpgu.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/etnaviv/etnaviv.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/fsl-dcu/fsl-dcu-drm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/atmel-hlcdc/atmel-hlcdc-dc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/armada/armada.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/vkms/vkms.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/vgem/vgem.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/scheduler/gpu-sched.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/drm_panel_orientation_quirks.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/drm_mipi_dbi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/drm.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/selftests/test-drm_cmdline_parser.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/selftests/test-drm_modeset.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/selftests/test-drm_mm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/drm_kms_helper.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/st7735r.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/repaper.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/mi0283qt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/ili9486.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/ili9341.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/ili9225.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/hx8357d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tiny/gm12u320.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/ti-tfp410.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/ti-sn65dsi86.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/adv7511/adv7511.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/tc358775.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/tc358767.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/tc358764.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/thc63lvd1024.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/sii9234.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/sii902x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/sil-sii8620.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/parade-ps8622.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/lvds-codec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/lontium-lt9611.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/display-connector.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/chrontel-ch7033.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/cdns-dsi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/synopsys/dw-hdmi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/cadence/cdns-mhdp8546.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/analogix/analogix_dp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/bridge/analogix/analogix-anx78xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-visionox-rm69299.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-tpo-tpg110.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sony-acx565akm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sony-acx424akp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sitronix-st7789v.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sitronix-st7703.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sitronix-st7701.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-sharp-ls043t1le01.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-seiko-43wvf1g.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6e8aa0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6e63m0-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6e63m0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6e3ha2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-samsung-s6d16d0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-raydium-rm67191.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-orisetech-otm8009a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-mantix-mlaf057we51.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-novatek-nt39016.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-nec-nl8048hl11.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-jdi-lt070me05000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-ilitek-ili9881c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-simple.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-lvds.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-boe-himax8279d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/panel/panel-arm-versatile.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/i2c/tda9950.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/i2c/tda998x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/i2c/sil164.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/tilcdc/tilcdc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/rcar-du/rcar_lvds.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/rcar-du/rcar_dw_hdmi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/arm/mali-dp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/gpu/drm/arm/hdlcd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/lp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/tpm/tpm_vtpm_proxy.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/tpm/tpm_atmel.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/tpm/tpm_i2c_nuvoton.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/tpm/tpm_i2c_atmel.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/tpm/st33zp24/tpm_st33zp24_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/pcmcia/scr24x_cs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/pcmcia/cm4040_cs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/char/pcmcia/cm4000_cs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/tty/serdev/serdev.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/wm8400-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/wm831x-ldo.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/wm831x-isink.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/wm831x-dcdc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/vexpress-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/vctrl-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/tps65912-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/tps65218-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/tps65023-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/tps6105x-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/s5m8767.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/s2mps11.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/rt4801-regulator.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/regulator/rohm-regulator.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[hch-xfs:xfs-inode-shrink.4 1/18] fs/xfs/scrub/ialloc.c:282:3: error: 'dip' undeclared
by kernel test robot
tree: git://git.infradead.org/users/hch/xfs xfs-inode-shrink.4
head: d2b8c2be4ff4933df97ff3910bf13e11050b345d
commit: d953c80672a90e83de00655c46006da572ecddff [1/18] xfs: split xfs_imap_to_bp
config: microblaze-randconfig-r001-20210318 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
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
git remote add hch-xfs git://git.infradead.org/users/hch/xfs
git fetch --no-tags hch-xfs xfs-inode-shrink.4
git checkout d953c80672a90e83de00655c46006da572ecddff
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
fs/xfs/scrub/ialloc.c: In function 'xchk_iallocbt_check_cluster':
>> fs/xfs/scrub/ialloc.c:282:3: error: 'dip' undeclared (first use in this function)
282 | dip = xfs_buf_offset(cluster_bp, imap.im_boffset);
| ^~~
fs/xfs/scrub/ialloc.c:282:3: note: each undeclared identifier is reported only once for each function it appears in
vim +/dip +282 fs/xfs/scrub/ialloc.c
199
200 /*
201 * Check that the holemask and freemask of a hypothetical inode cluster match
202 * what's actually on disk. If sparse inodes are enabled, the cluster does
203 * not actually have to map to inodes if the corresponding holemask bit is set.
204 *
205 * @cluster_base is the first inode in the cluster within the @irec.
206 */
207 STATIC int
208 xchk_iallocbt_check_cluster(
209 struct xchk_btree *bs,
210 struct xfs_inobt_rec_incore *irec,
211 unsigned int cluster_base)
212 {
213 struct xfs_imap imap;
214 struct xfs_mount *mp = bs->cur->bc_mp;
215 struct xfs_buf *cluster_bp;
216 unsigned int nr_inodes;
217 xfs_agnumber_t agno = bs->cur->bc_ag.agno;
218 xfs_agblock_t agbno;
219 unsigned int cluster_index;
220 uint16_t cluster_mask = 0;
221 uint16_t ir_holemask;
222 int error = 0;
223
224 nr_inodes = min_t(unsigned int, XFS_INODES_PER_CHUNK,
225 M_IGEO(mp)->inodes_per_cluster);
226
227 /* Map this inode cluster */
228 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino + cluster_base);
229
230 /* Compute a bitmask for this cluster that can be used for holemask. */
231 for (cluster_index = 0;
232 cluster_index < nr_inodes;
233 cluster_index += XFS_INODES_PER_HOLEMASK_BIT)
234 cluster_mask |= XFS_INOBT_MASK((cluster_base + cluster_index) /
235 XFS_INODES_PER_HOLEMASK_BIT);
236
237 /*
238 * Map the first inode of this cluster to a buffer and offset.
239 * Be careful about inobt records that don't align with the start of
240 * the inode buffer when block sizes are large enough to hold multiple
241 * inode chunks. When this happens, cluster_base will be zero but
242 * ir_startino can be large enough to make im_boffset nonzero.
243 */
244 ir_holemask = (irec->ir_holemask & cluster_mask);
245 imap.im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno);
246 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster);
247 imap.im_boffset = XFS_INO_TO_OFFSET(mp, irec->ir_startino) <<
248 mp->m_sb.sb_inodelog;
249
250 if (imap.im_boffset != 0 && cluster_base != 0) {
251 ASSERT(imap.im_boffset == 0 || cluster_base == 0);
252 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
253 return 0;
254 }
255
256 trace_xchk_iallocbt_check_cluster(mp, agno, irec->ir_startino,
257 imap.im_blkno, imap.im_len, cluster_base, nr_inodes,
258 cluster_mask, ir_holemask,
259 XFS_INO_TO_OFFSET(mp, irec->ir_startino +
260 cluster_base));
261
262 /* The whole cluster must be a hole or not a hole. */
263 if (ir_holemask != cluster_mask && ir_holemask != 0) {
264 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
265 return 0;
266 }
267
268 /* If any part of this is a hole, skip it. */
269 if (ir_holemask) {
270 xchk_xref_is_not_owned_by(bs->sc, agbno,
271 M_IGEO(mp)->blocks_per_cluster,
272 &XFS_RMAP_OINFO_INODES);
273 return 0;
274 }
275
276 xchk_xref_is_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster,
277 &XFS_RMAP_OINFO_INODES);
278
279 /* Grab the inode cluster buffer. */
280 error = xfs_imap_to_bp(mp, bs->cur->bc_tp, &imap, &cluster_bp);
281 if (!error)
> 282 dip = xfs_buf_offset(cluster_bp, imap.im_boffset);
283 if (!xchk_btree_xref_process_error(bs->sc, bs->cur, 0, &error))
284 return error;
285
286 /* Check free status of each inode within this cluster. */
287 for (cluster_index = 0; cluster_index < nr_inodes; cluster_index++) {
288 struct xfs_dinode *dip;
289
290 if (imap.im_boffset >= BBTOB(cluster_bp->b_length)) {
291 xchk_btree_set_corrupt(bs->sc, bs->cur, 0);
292 break;
293 }
294
295 dip = xfs_buf_offset(cluster_bp, imap.im_boffset);
296 error = xchk_iallocbt_check_cluster_ifree(bs, irec,
297 cluster_base + cluster_index, dip);
298 if (error)
299 break;
300 imap.im_boffset += mp->m_sb.sb_inodesize;
301 }
302
303 xfs_trans_brelse(bs->cur->bc_tp, cluster_bp);
304 return error;
305 }
306
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[block:io_uring-bio-cache 5/8] fs/io_uring.c:1178:48: error: no member named 'bio_cache' in 'struct io_comp_state'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-bio-cache
head: 02a7d585f8ec89e3022de62157180affb4aca7e3
commit: 12d0247e65530b9e4f601e97016e7c284cb537fc [5/8] io_uring: wire up bio allocation cache
config: powerpc-randconfig-r001-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/com...
git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
git fetch --no-tags block io_uring-bio-cache
git checkout 12d0247e65530b9e4f601e97016e7c284cb537fc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> fs/io_uring.c:1178:48: error: no member named 'bio_cache' in 'struct io_comp_state'
bio_alloc_cache_init(&ctx->submit_state.comp.bio_cache);
~~~~~~~~~~~~~~~~~~~~~~ ^
fs/io_uring.c:2794:49: error: no member named 'bio_cache' in 'struct io_comp_state'
kiocb->ki_bi_cache = &ctx->submit_state.comp.bio_cache;
~~~~~~~~~~~~~~~~~~~~~~ ^
fs/io_uring.c:8464:32: error: no member named 'bio_cache' in 'struct io_comp_state'
bio_alloc_cache_destroy(&cs->bio_cache);
~~ ^
3 errors generated.
vim +1178 fs/io_uring.c
1125
1126 static struct io_ring_ctx *io_ring_ctx_alloc(struct io_uring_params *p)
1127 {
1128 struct io_ring_ctx *ctx;
1129 int hash_bits;
1130
1131 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
1132 if (!ctx)
1133 return NULL;
1134
1135 /*
1136 * Use 5 bits less than the max cq entries, that should give us around
1137 * 32 entries per hash list if totally full and uniformly spread.
1138 */
1139 hash_bits = ilog2(p->cq_entries);
1140 hash_bits -= 5;
1141 if (hash_bits <= 0)
1142 hash_bits = 1;
1143 ctx->cancel_hash_bits = hash_bits;
1144 ctx->cancel_hash = kmalloc((1U << hash_bits) * sizeof(struct hlist_head),
1145 GFP_KERNEL);
1146 if (!ctx->cancel_hash)
1147 goto err;
1148 __hash_init(ctx->cancel_hash, 1U << hash_bits);
1149
1150 if (percpu_ref_init(&ctx->refs, io_ring_ctx_ref_free,
1151 PERCPU_REF_ALLOW_REINIT, GFP_KERNEL))
1152 goto err;
1153
1154 ctx->flags = p->flags;
1155 init_waitqueue_head(&ctx->sqo_sq_wait);
1156 INIT_LIST_HEAD(&ctx->sqd_list);
1157 init_waitqueue_head(&ctx->cq_wait);
1158 INIT_LIST_HEAD(&ctx->cq_overflow_list);
1159 init_completion(&ctx->ref_comp);
1160 xa_init_flags(&ctx->io_buffers, XA_FLAGS_ALLOC1);
1161 xa_init_flags(&ctx->personalities, XA_FLAGS_ALLOC1);
1162 mutex_init(&ctx->uring_lock);
1163 init_waitqueue_head(&ctx->wait);
1164 spin_lock_init(&ctx->completion_lock);
1165 INIT_LIST_HEAD(&ctx->iopoll_list);
1166 INIT_LIST_HEAD(&ctx->defer_list);
1167 INIT_LIST_HEAD(&ctx->timeout_list);
1168 spin_lock_init(&ctx->inflight_lock);
1169 INIT_LIST_HEAD(&ctx->inflight_list);
1170 spin_lock_init(&ctx->rsrc_ref_lock);
1171 INIT_LIST_HEAD(&ctx->rsrc_ref_list);
1172 INIT_DELAYED_WORK(&ctx->rsrc_put_work, io_rsrc_put_work);
1173 init_llist_head(&ctx->rsrc_put_llist);
1174 INIT_LIST_HEAD(&ctx->tctx_list);
1175 INIT_LIST_HEAD(&ctx->submit_state.comp.free_list);
1176 INIT_LIST_HEAD(&ctx->submit_state.comp.locked_free_list);
1177 if (IS_ENABLED(CONFIG_BLOCK))
> 1178 bio_alloc_cache_init(&ctx->submit_state.comp.bio_cache);
1179 return ctx;
1180 err:
1181 kfree(ctx->cancel_hash);
1182 kfree(ctx);
1183 return NULL;
1184 }
1185
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[chrome-os:chromeos-5.4 95/109] drivers/of/device.c:172:10: error: implicit declaration of function 'of_dma_set_restricted_buffer'; did you mean
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 9dbb318936be022de92f893824a3c93f4ab856c1
commit: 9add50386637e888e96183167ff28bf831173c53 [95/109] FROMLIST: of: Add plumbing for restricted DMA pool
config: sparc-defconfig (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 9add50386637e888e96183167ff28bf831173c53
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/of/device.c: In function 'of_dma_configure':
>> drivers/of/device.c:172:10: error: implicit declaration of function 'of_dma_set_restricted_buffer'; did you mean 'of_dma_get_restricted_buffer'? [-Werror=implicit-function-declaration]
172 | return of_dma_set_restricted_buffer(dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| of_dma_get_restricted_buffer
cc1: some warnings being treated as errors
vim +172 drivers/of/device.c
74
75 /**
76 * of_dma_configure - Setup DMA configuration
77 * @dev: Device to apply DMA configuration
78 * @np: Pointer to OF node having DMA configuration
79 * @force_dma: Whether device is to be set up by of_dma_configure() even if
80 * DMA capability is not explicitly described by firmware.
81 *
82 * Try to get devices's DMA configuration from DT and update it
83 * accordingly.
84 *
85 * If platform code needs to use its own special DMA configuration, it
86 * can use a platform bus notifier and handle BUS_NOTIFY_ADD_DEVICE events
87 * to fix up DMA configuration.
88 */
89 int of_dma_configure(struct device *dev, struct device_node *np, bool force_dma)
90 {
91 u64 dma_addr, paddr, size = 0;
92 int ret;
93 bool coherent;
94 unsigned long offset;
95 const struct iommu_ops *iommu;
96 u64 mask;
97
98 ret = of_dma_get_range(np, &dma_addr, &paddr, &size);
99 if (ret < 0) {
100 /*
101 * For legacy reasons, we have to assume some devices need
102 * DMA configuration regardless of whether "dma-ranges" is
103 * correctly specified or not.
104 */
105 if (!force_dma)
106 return ret == -ENODEV ? 0 : ret;
107
108 dma_addr = offset = 0;
109 } else {
110 offset = PFN_DOWN(paddr - dma_addr);
111
112 /*
113 * Add a work around to treat the size as mask + 1 in case
114 * it is defined in DT as a mask.
115 */
116 if (size & 1) {
117 dev_warn(dev, "Invalid size 0x%llx for dma-range\n",
118 size);
119 size = size + 1;
120 }
121
122 if (!size) {
123 dev_err(dev, "Adjusted size 0x%llx invalid\n", size);
124 return -EINVAL;
125 }
126 dev_dbg(dev, "dma_pfn_offset(%#08lx)\n", offset);
127 }
128
129 /*
130 * If @dev is expected to be DMA-capable then the bus code that created
131 * it should have initialised its dma_mask pointer by this point. For
132 * now, we'll continue the legacy behaviour of coercing it to the
133 * coherent mask if not, but we'll no longer do so quietly.
134 */
135 if (!dev->dma_mask) {
136 dev_warn(dev, "DMA mask not set\n");
137 dev->dma_mask = &dev->coherent_dma_mask;
138 }
139
140 if (!size && dev->coherent_dma_mask)
141 size = max(dev->coherent_dma_mask, dev->coherent_dma_mask + 1);
142 else if (!size)
143 size = 1ULL << 32;
144
145 dev->dma_pfn_offset = offset;
146
147 /*
148 * Limit coherent and dma mask based on size and default mask
149 * set by the driver.
150 */
151 mask = DMA_BIT_MASK(ilog2(dma_addr + size - 1) + 1);
152 dev->coherent_dma_mask &= mask;
153 *dev->dma_mask &= mask;
154 /* ...but only set bus mask if we found valid dma-ranges earlier */
155 if (!ret)
156 dev->bus_dma_mask = mask;
157
158 coherent = of_dma_is_coherent(np);
159 dev_dbg(dev, "device is%sdma coherent\n",
160 coherent ? " " : " not ");
161
162 iommu = of_iommu_configure(dev, np);
163 if (IS_ERR(iommu) && PTR_ERR(iommu) == -EPROBE_DEFER)
164 return -EPROBE_DEFER;
165
166 dev_dbg(dev, "device is%sbehind an iommu\n",
167 iommu ? " " : " not ");
168
169 arch_setup_dma_ops(dev, dma_addr, size, iommu, coherent);
170
171 if (!iommu)
> 172 return of_dma_set_restricted_buffer(dev);
173
174 return 0;
175 }
176 EXPORT_SYMBOL_GPL(of_dma_configure);
177
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[security:landlock_lsm 8/12] kernel/sys_ni.c:270:1: warning: no previous prototype for function '__arm64_sys_landlock_create_ruleset'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git landlock_lsm
head: f642729df39003efe2a9bfa341a95759d712eb35
commit: c5eafae25eb54cc5354f0675a88a34f03c08f559 [8/12] landlock: Add syscall implementations
config: arm64-randconfig-r033-20210318 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project fcc1ce00931751ac02498986feb37744e9ace8de)
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/jmorris/linux-security.gi...
git remote add security https://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git
git fetch --no-tags security landlock_lsm
git checkout c5eafae25eb54cc5354f0675a88a34f03c08f559
# 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 >>):
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:21:1: note: expanded from here
__arm64_sys_shutdown
^
kernel/sys_ni.c:250:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:251:1: warning: no previous prototype for function '__arm64_sys_recvfrom' [-Wmissing-prototypes]
COND_SYSCALL(recvfrom);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:22:1: note: expanded from here
__arm64_sys_recvfrom
^
kernel/sys_ni.c:251:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:253:1: warning: no previous prototype for function '__arm64_sys_sendmsg' [-Wmissing-prototypes]
COND_SYSCALL(sendmsg);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:27:1: note: expanded from here
__arm64_sys_sendmsg
^
kernel/sys_ni.c:253:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:255:1: warning: no previous prototype for function '__arm64_sys_recvmsg' [-Wmissing-prototypes]
COND_SYSCALL(recvmsg);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:32:1: note: expanded from here
__arm64_sys_recvmsg
^
kernel/sys_ni.c:255:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:261:1: warning: no previous prototype for function '__arm64_sys_mremap' [-Wmissing-prototypes]
COND_SYSCALL(mremap);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:37:1: note: expanded from here
__arm64_sys_mremap
^
kernel/sys_ni.c:261:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:264:1: warning: no previous prototype for function '__arm64_sys_add_key' [-Wmissing-prototypes]
COND_SYSCALL(add_key);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:38:1: note: expanded from here
__arm64_sys_add_key
^
kernel/sys_ni.c:264:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:265:1: warning: no previous prototype for function '__arm64_sys_request_key' [-Wmissing-prototypes]
COND_SYSCALL(request_key);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:39:1: note: expanded from here
__arm64_sys_request_key
^
kernel/sys_ni.c:265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:266:1: warning: no previous prototype for function '__arm64_sys_keyctl' [-Wmissing-prototypes]
COND_SYSCALL(keyctl);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:40:1: note: expanded from here
__arm64_sys_keyctl
^
kernel/sys_ni.c:266:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:270:1: warning: no previous prototype for function '__arm64_sys_landlock_create_ruleset' [-Wmissing-prototypes]
COND_SYSCALL(landlock_create_ruleset);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:45:1: note: expanded from here
__arm64_sys_landlock_create_ruleset
^
kernel/sys_ni.c:270:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:271:1: warning: no previous prototype for function '__arm64_sys_landlock_add_rule' [-Wmissing-prototypes]
COND_SYSCALL(landlock_add_rule);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:46:1: note: expanded from here
__arm64_sys_landlock_add_rule
^
kernel/sys_ni.c:271:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
>> kernel/sys_ni.c:272:1: warning: no previous prototype for function '__arm64_sys_landlock_restrict_self' [-Wmissing-prototypes]
COND_SYSCALL(landlock_restrict_self);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:47:1: note: expanded from here
__arm64_sys_landlock_restrict_self
^
kernel/sys_ni.c:272:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:277:1: warning: no previous prototype for function '__arm64_sys_fadvise64_64' [-Wmissing-prototypes]
COND_SYSCALL(fadvise64_64);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:48:1: note: expanded from here
__arm64_sys_fadvise64_64
^
kernel/sys_ni.c:277:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:280:1: warning: no previous prototype for function '__arm64_sys_swapon' [-Wmissing-prototypes]
COND_SYSCALL(swapon);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:49:1: note: expanded from here
__arm64_sys_swapon
^
kernel/sys_ni.c:280:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:281:1: warning: no previous prototype for function '__arm64_sys_swapoff' [-Wmissing-prototypes]
COND_SYSCALL(swapoff);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:50:1: note: expanded from here
__arm64_sys_swapoff
^
kernel/sys_ni.c:281:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:282:1: warning: no previous prototype for function '__arm64_sys_mprotect' [-Wmissing-prototypes]
COND_SYSCALL(mprotect);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:51:1: note: expanded from here
__arm64_sys_mprotect
^
kernel/sys_ni.c:282:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:283:1: warning: no previous prototype for function '__arm64_sys_msync' [-Wmissing-prototypes]
COND_SYSCALL(msync);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:52:1: note: expanded from here
__arm64_sys_msync
^
kernel/sys_ni.c:283:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:284:1: warning: no previous prototype for function '__arm64_sys_mlock' [-Wmissing-prototypes]
COND_SYSCALL(mlock);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:53:1: note: expanded from here
__arm64_sys_mlock
^
kernel/sys_ni.c:284:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/syscall_wrapper.h:76:13: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
kernel/sys_ni.c:285:1: warning: no previous prototype for function '__arm64_sys_munlock' [-Wmissing-prototypes]
COND_SYSCALL(munlock);
^
arch/arm64/include/asm/syscall_wrapper.h:76:25: note: expanded from macro 'COND_SYSCALL'
asmlinkage long __weak __arm64_sys_##name(const struct pt_regs *regs) \
^
<scratch space>:54:1: note: expanded from here
__arm64_sys_munlock
^
kernel/sys_ni.c:285:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
vim +/__arm64_sys_landlock_create_ruleset +270 kernel/sys_ni.c
268
269 /* security/landlock/syscalls.c */
> 270 COND_SYSCALL(landlock_create_ruleset);
> 271 COND_SYSCALL(landlock_add_rule);
> 272 COND_SYSCALL(landlock_restrict_self);
273
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months