* [android-common:android13-5.15 1/3] fs/fuse/backing.c:1218: undefined reference to `fuse_get_bpf_prog'
@ 2023-09-10 0:54 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-09-10 0:54 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.15
head: d4f95b543e9e58a9ca8a5c5825ccb30767afe211
commit: f5f4199c102aa676998b42abff60d071385c1c0c [1/3] ANDROID: fuse-bpf v1.1
config: i386-randconfig-054-20230910 (https://download.01.org/0day-ci/archive/20230910/202309100803.ZojB6Bgv-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230910/202309100803.ZojB6Bgv-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309100803.ZojB6Bgv-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: fs/fuse/backing.o: in function `fuse_handle_bpf_prog':
>> fs/fuse/backing.c:1218: undefined reference to `fuse_get_bpf_prog'
vim +1218 fs/fuse/backing.c
1186
1187 int fuse_handle_bpf_prog(struct fuse_entry_bpf *feb, struct inode *parent,
1188 struct bpf_prog **bpf)
1189 {
1190 struct fuse_inode *pi;
1191
1192 // Parent isn't presented, but we want to keep
1193 // Don't touch bpf program at all in this case
1194 if (feb->out.bpf_action == FUSE_ACTION_KEEP && !parent)
1195 goto out;
1196
1197 if (*bpf) {
1198 bpf_prog_put(*bpf);
1199 *bpf = NULL;
1200 }
1201
1202 switch (feb->out.bpf_action) {
1203 case FUSE_ACTION_KEEP:
1204 pi = get_fuse_inode(parent);
1205 *bpf = pi->bpf;
1206 if (*bpf)
1207 bpf_prog_inc(*bpf);
1208 break;
1209
1210 case FUSE_ACTION_REMOVE:
1211 break;
1212
1213 case FUSE_ACTION_REPLACE: {
1214 struct file *bpf_file = feb->bpf_file;
1215 struct bpf_prog *bpf_prog = ERR_PTR(-EINVAL);
1216
1217 if (bpf_file && !IS_ERR(bpf_file))
> 1218 bpf_prog = fuse_get_bpf_prog(bpf_file);
1219
1220 if (IS_ERR(bpf_prog))
1221 return PTR_ERR(bpf_prog);
1222
1223 *bpf = bpf_prog;
1224 break;
1225 }
1226
1227 default:
1228 return -EINVAL;
1229 }
1230
1231 out:
1232 return 0;
1233 }
1234
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [android-common:android13-5.15 1/3] fs/fuse/backing.c:1218:undefined reference to `fuse_get_bpf_prog'
@ 2024-05-30 21:33 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-05-30 21:33 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.15
head: 7ea5014410f786539cbdc8efa564732410677818
commit: f5f4199c102aa676998b42abff60d071385c1c0c [1/3] ANDROID: fuse-bpf v1.1
config: x86_64-randconfig-013-20240531 (https://download.01.org/0day-ci/archive/20240531/202405310502.LwiMndTe-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240531/202405310502.LwiMndTe-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405310502.LwiMndTe-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: fs/fuse/backing.o: in function `fuse_handle_bpf_prog':
>> fs/fuse/backing.c:1218:(.text+0xaa8e): undefined reference to `fuse_get_bpf_prog'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DRM_MIPI_DSI
Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
Selected by [y]:
- GKI_HIDDEN_DRM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_JACK
Depends on [n]: SOUND [=y] && !UML && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for DRM_KMS_CMA_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
Selected by [y]:
- GKI_HIDDEN_DRM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_VMASTER
Depends on [n]: SOUND [=y] && !UML && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_IEC958
Depends on [n]: SOUND [=y] && !UML && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_SOC_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
Depends on [n]: SOUND [=y] && !UML && SND [=n] && SND_JACK [=y]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_PCM_ELD
Depends on [n]: SOUND [=y] && !UML && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y]
WARNING: unmet direct dependencies detected for DRM_GEM_CMA_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
Selected by [y]:
- GKI_HIDDEN_DRM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for SND_INTEL_NHLT
Depends on [n]: SOUND [=y] && !UML && SND [=n]
Selected by [y]:
- GKI_HIDDEN_SND_CONFIGS [=y] && ACPI [=y]
vim +1218 fs/fuse/backing.c
1186
1187 int fuse_handle_bpf_prog(struct fuse_entry_bpf *feb, struct inode *parent,
1188 struct bpf_prog **bpf)
1189 {
1190 struct fuse_inode *pi;
1191
1192 // Parent isn't presented, but we want to keep
1193 // Don't touch bpf program at all in this case
1194 if (feb->out.bpf_action == FUSE_ACTION_KEEP && !parent)
1195 goto out;
1196
1197 if (*bpf) {
1198 bpf_prog_put(*bpf);
1199 *bpf = NULL;
1200 }
1201
1202 switch (feb->out.bpf_action) {
1203 case FUSE_ACTION_KEEP:
1204 pi = get_fuse_inode(parent);
1205 *bpf = pi->bpf;
1206 if (*bpf)
1207 bpf_prog_inc(*bpf);
1208 break;
1209
1210 case FUSE_ACTION_REMOVE:
1211 break;
1212
1213 case FUSE_ACTION_REPLACE: {
1214 struct file *bpf_file = feb->bpf_file;
1215 struct bpf_prog *bpf_prog = ERR_PTR(-EINVAL);
1216
1217 if (bpf_file && !IS_ERR(bpf_file))
> 1218 bpf_prog = fuse_get_bpf_prog(bpf_file);
1219
1220 if (IS_ERR(bpf_prog))
1221 return PTR_ERR(bpf_prog);
1222
1223 *bpf = bpf_prog;
1224 break;
1225 }
1226
1227 default:
1228 return -EINVAL;
1229 }
1230
1231 out:
1232 return 0;
1233 }
1234
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-30 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 21:33 [android-common:android13-5.15 1/3] fs/fuse/backing.c:1218:undefined reference to `fuse_get_bpf_prog' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-09-10 0:54 [android-common:android13-5.15 1/3] fs/fuse/backing.c:1218: undefined " kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.