All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luís Henriques" <lhenriques@suse.de>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 1/2] fscrypt: new helper function - __fscrypt_prepare_atomic_open()
Date: Thu, 09 Mar 2023 16:02:04 +0000	[thread overview]
Message-ID: <87jzzpx69v.fsf@suse.de> (raw)
In-Reply-To: <202303092108.lUCfozm1-lkp@intel.com> (kernel test robot's message of "Thu, 9 Mar 2023 21:37:47 +0800")

kernel test robot <lkp@intel.com> writes:

> Hi Luís,
>
> [FYI, it's a private test report for your RFC patch.]
> [auto build test ERROR on ceph-client/testing]
> [also build test ERROR on ceph-client/for-linus linus/master v6.3-rc1 next-20230309]
> [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#_base_tree_information]
>
> url:    https://github.com/intel-lab-lkp/linux/commits/Lu-s-Henriques/fscrypt-new-helper-function-__fscrypt_prepare_atomic_open/20230309-202021
> base:   https://github.com/ceph/ceph-client.git testing
> patch link:    https://lore.kernel.org/r/20230309121910.18939-2-lhenriques%40suse.de
> patch subject: [RFC PATCH 1/2] fscrypt: new helper function - __fscrypt_prepare_atomic_open()
> config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230309/202303092108.lUCfozm1-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
> reproduce (this is a W=1 build):
>         # https://github.com/intel-lab-lkp/linux/commit/bc0e93e713bcb2b95af1bcb4ac369a7fe3a72863
>         git remote add linux-review https://github.com/intel-lab-lkp/linux
>         git fetch --no-tags linux-review Lu-s-Henriques/fscrypt-new-helper-function-__fscrypt_prepare_atomic_open/20230309-202021
>         git checkout bc0e93e713bcb2b95af1bcb4ac369a7fe3a72863
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         make W=1 O=build_dir ARCH=i386 olddefconfig
>         make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> | Link: https://lore.kernel.org/oe-kbuild-all/202303092108.lUCfozm1-lkp@intel.com/
>
> All error/warnings (new ones prefixed by >>):
>
>    In file included from fs/super.c:34:
>>> include/linux/fscrypt.h:692:5: warning: no previous prototype for '__fscrypt_prepare_atomic_open' [-Wmissing-prototypes]
>      692 | int __fscrypt_prepare_atomic_open(struct inode *dir, struct dentry *dentry)
>          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Doh, I forgot to declare the helper as 'static' for the !CONFIG_FS_ENCRYPTION
case.  But I guess I'll hold on sending a v2 until I get some feedback
from the fscrypt maintainers.

Cheers,
-- 
Luís

> --
>    ld: fs/ioctl.o: in function `__fscrypt_prepare_atomic_open':
>>> ioctl.c:(.text+0x10a): multiple definition of `__fscrypt_prepare_atomic_open'; fs/super.o:super.c:(.text+0x461): first defined here
>    ld: fs/dcache.o: in function `__fscrypt_prepare_atomic_open':
>    dcache.c:(.text+0x897): multiple definition of `__fscrypt_prepare_atomic_open'; fs/super.o:super.c:(.text+0x461): first defined here
>    ld: fs/libfs.o: in function `__fscrypt_prepare_atomic_open':
>    libfs.c:(.text+0x782): multiple definition of `__fscrypt_prepare_atomic_open'; fs/super.o:super.c:(.text+0x461): first defined here
>
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests


  reply	other threads:[~2023-03-09 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 12:19 [RFC PATCH 0/2] ceph: fscrypt: fix atomic open bug for encrypted directories Luís Henriques
2023-03-09 12:19 ` [RFC PATCH 1/2] fscrypt: new helper function - __fscrypt_prepare_atomic_open() Luís Henriques
2023-03-09 13:37   ` kernel test robot
2023-03-09 16:02     ` Luís Henriques [this message]
2023-03-09 18:23   ` Eric Biggers
2023-03-10 12:05     ` Luís Henriques
2023-03-09 21:31   ` kernel test robot
2023-03-09 12:19 ` [RFC PATCH 2/2] ceph: switch atomic open to use new fscrypt helper Luís Henriques

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=87jzzpx69v.fsf@suse.de \
    --to=lhenriques@suse.de \
    --cc=lkp@intel.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.