lkml.org 
[lkml]   [2022]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH V1 2/6] iio: accel: sca3300: Add interface for operation modes.
    Hi LI,

    Thank you for the patch! Yet something to improve:

    [auto build test ERROR on jic23-iio/togreg]
    [also build test ERROR on v5.17-rc1 next-20220124]
    [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/LI-Qingwu/i-iio-accel-sca3300-add-compitible-for-scl3300/20220124-174021
    base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
    config: hexagon-randconfig-r033-20220124 (https://download.01.org/0day-ci/archive/20220124/202201242108.VNQCotc3-lkp@intel.com/config)
    compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2e58a18910867ba6795066e044293e6daf89edf5)
    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/1521580933c9c08143fc14b23a363eb7961d4520
    git remote add linux-review https://github.com/0day-ci/linux
    git fetch --no-tags linux-review LI-Qingwu/i-iio-accel-sca3300-add-compitible-for-scl3300/20220124-174021
    git checkout 1521580933c9c08143fc14b23a363eb7961d4520
    # save the config file to linux build tree
    mkdir build_dir
    COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/iio/accel/

    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 >>):

    >> drivers/iio/accel/sca3300.c:74:53: error: too few arguments provided to function-like macro invocation
    IIO_ENUM_AVAILABLE("op_mode", &sca3300_op_mode_enum),
    ^
    include/linux/iio/iio.h:112:9: note: macro 'IIO_ENUM_AVAILABLE' defined here
    #define IIO_ENUM_AVAILABLE(_name, _shared, _e) \
    ^
    >> drivers/iio/accel/sca3300.c:74:2: error: use of undeclared identifier 'IIO_ENUM_AVAILABLE'
    IIO_ENUM_AVAILABLE("op_mode", &sca3300_op_mode_enum),
    ^
    2 errors generated.


    vim +74 drivers/iio/accel/sca3300.c

    71
    72 static const struct iio_chan_spec_ext_info sca3300_ext_info[] = {
    73 IIO_ENUM("op_mode", IIO_SHARED_BY_DIR, &sca3300_op_mode_enum),
    > 74 IIO_ENUM_AVAILABLE("op_mode", &sca3300_op_mode_enum),
    75 { }
    76 };
    77

    ---
    0-DAY CI Kernel Test Service, Intel Corporation
    https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

    \
     
     \ /
      Last update: 2022-01-24 14:51    [W:4.243 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site