All of lore.kernel.org
 help / color / mirror / Atom feed
* [jpirko-mlxsw:linecards 109/110] drivers/platform/mellanox/mlxreg-lc.c:52: warning: Excess enum value 'MLXREG_LC_POWERD' description in 'mlxreg_lc_state'
@ 2021-06-17 21:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-17 21:43 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jpirko/linux_mlxsw linecards
head:   ac32eea04a0d84715c80f82df76faa5944665c31
commit: 998a3bef90771cf08f5ee530ac739dcf3f3a8a05 [109/110] TMP: platform/mellanox
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.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/jpirko/linux_mlxsw/commit/998a3bef90771cf08f5ee530ac739dcf3f3a8a05
        git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
        git fetch --no-tags jpirko-mlxsw linecards
        git checkout 998a3bef90771cf08f5ee530ac739dcf3f3a8a05
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

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

All warnings (new ones prefixed by >>):

   drivers/platform/mellanox/mlxreg-lc.c:52: warning: Enum value 'MLXREG_LC_POWERED' not described in enum 'mlxreg_lc_state'
>> drivers/platform/mellanox/mlxreg-lc.c:52: warning: Excess enum value 'MLXREG_LC_POWERD' description in 'mlxreg_lc_state'


vim +52 drivers/platform/mellanox/mlxreg-lc.c

    40	
    41	/**
    42	 * enum mlxreg_lc_state - line cards state
    43	 *
    44	 * @MLXREG_LC_INITIALIZED: line card is initialized;
    45	 * @MLXREG_LC_POWERD: line card is powered;
    46	 * @MLXREG_LC_SYNCED: line card is syncronized between hardware and firmware;
    47	 */
    48	enum mlxreg_lc_state {
    49		MLXREG_LC_INITIALIZED = BIT(0),
    50		MLXREG_LC_POWERED = BIT(1),
    51		MLXREG_LC_SYNCED = BIT(2),
  > 52	};
    53	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 68165 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-17 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 21:43 [jpirko-mlxsw:linecards 109/110] drivers/platform/mellanox/mlxreg-lc.c:52: warning: Excess enum value 'MLXREG_LC_POWERD' description in 'mlxreg_lc_state' 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.