public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Huang Jianan <huangjianan@oppo.com>, linux-erofs@lists.ozlabs.org
Cc: kbuild-all@lists.01.org, huangjianan@oppo.com,
	guoweichao@oppo.com, guanyuwei@oppo.com, yh@oppo.com,
	zhangshiming@oppo.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] erofs: add sysfs node to control sync decompression strategy
Date: Fri, 12 Nov 2021 04:17:03 +0800	[thread overview]
Message-ID: <202111120433.A7XxZNvu-lkp@intel.com> (raw)
In-Reply-To: <20211109025445.12427-2-huangjianan@oppo.com>

[-- Attachment #1: Type: text/plain, Size: 3068 bytes --]

Hi Huang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on xiang-erofs/dev-test]
[also build test ERROR on next-20211111]
[cannot apply to v5.15]
[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/Huang-Jianan/erofs-add-sysfs-interface/20211109-105542
base:   https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
config: xtensa-buildonly-randconfig-r004-20211111 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 11.2.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
        # https://github.com/0day-ci/linux/commit/d6bf9edf69e87ee0a9795421ff2e1a9b69a29ce8
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Huang-Jianan/erofs-add-sysfs-interface/20211109-105542
        git checkout d6bf9edf69e87ee0a9795421ff2e1a9b69a29ce8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from <command-line>:
>> include/linux/compiler_types.h:140:41: error: 'struct erofs_mount_opts' has no member named 'readahead_sync_decompress'
     140 | #define __compiler_offsetof(a, b)       __builtin_offsetof(a, b)
         |                                         ^~~~~~~~~~~~~~~~~~
   include/linux/stddef.h:17:33: note: in expansion of macro '__compiler_offsetof'
      17 | #define offsetof(TYPE, MEMBER)  __compiler_offsetof(TYPE, MEMBER)
         |                                 ^~~~~~~~~~~~~~~~~~~
   fs/erofs/sysfs.c:42:19: note: in expansion of macro 'offsetof'
      42 |         .offset = offsetof(struct _struct, _name),\
         |                   ^~~~~~~~
   fs/erofs/sysfs.c:46:9: note: in expansion of macro 'EROFS_ATTR_OFFSET'
      46 |         EROFS_ATTR_OFFSET(_name, 0644, _id, _struct)
         |         ^~~~~~~~~~~~~~~~~
   fs/erofs/sysfs.c:55:9: note: in expansion of macro 'EROFS_RW_ATTR'
      55 |         EROFS_RW_ATTR(_name, pointer_bool, _struct)
         |         ^~~~~~~~~~~~~
   fs/erofs/sysfs.c:59:1: note: in expansion of macro 'EROFS_RW_ATTR_BOOL'
      59 | EROFS_RW_ATTR_BOOL(readahead_sync_decompress, erofs_mount_opts);
         | ^~~~~~~~~~~~~~~~~~


vim +140 include/linux/compiler_types.h

71391bdd2e9aab Xiaozhou Liu 2018-12-14  139  
71391bdd2e9aab Xiaozhou Liu 2018-12-14 @140  #define __compiler_offsetof(a, b)	__builtin_offsetof(a, b)
71391bdd2e9aab Xiaozhou Liu 2018-12-14  141  

---
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: 38002 bytes --]

  parent reply	other threads:[~2021-11-11 20:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09  2:54 [PATCH 1/2] erofs: add sysfs interface Huang Jianan
2021-11-09  2:54 ` [PATCH 2/2] erofs: add sysfs node to control sync decompression strategy Huang Jianan
2021-11-09  3:16   ` Gao Xiang
2021-11-09  7:43     ` Huang Jianan
2021-11-09  7:45       ` [PATCH v2 1/2] erofs: add sysfs interface Huang Jianan
2021-11-09  7:45         ` [PATCH v2 2/2] erofs: add sysfs node to control sync decompression strategy Huang Jianan
2021-11-09 13:27           ` Chao Yu
2021-11-09 13:14         ` [PATCH v2 1/2] erofs: add sysfs interface Chao Yu
2021-11-11 20:17   ` kernel test robot [this message]
2021-11-12  2:08     ` [PATCH 2/2] erofs: add sysfs node to control sync decompression strategy Huang Jianan
2021-11-09  3:10 ` [PATCH 1/2] erofs: add sysfs interface Gao Xiang
2021-11-09  7:29   ` Huang Jianan
2021-11-09  3:14 ` Joe Perches
2021-11-09  7:31   ` Huang Jianan

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=202111120433.A7XxZNvu-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=guanyuwei@oppo.com \
    --cc=guoweichao@oppo.com \
    --cc=huangjianan@oppo.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yh@oppo.com \
    --cc=zhangshiming@oppo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox