All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android13-5.15 1/3] fs/fuse/backing.c:1218:undefined reference to `fuse_get_bpf_prog'
Date: Fri, 31 May 2024 05:33:21 +0800	[thread overview]
Message-ID: <202405310502.LwiMndTe-lkp@intel.com> (raw)

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

             reply	other threads:[~2024-05-30 21:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30 21:33 kernel test robot [this message]
  -- 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 reference to `fuse_get_bpf_prog' kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202405310502.LwiMndTe-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.