[linux-next:master 8191/9385] htmldocs: Documentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst:57: WARNING: Unexpected indentation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   1f6ce8392d6ff486af5ca96df9ded5882c4b6977
commit: e71383fb9cd15a28d6c01d2c165a96f1c0bcf418 [8191/9385] net/mlx5: Light probe local SFs
reproduce:
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e71383fb9cd15a28d6c01d2c165a96f1c0bcf418
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout e71383fb9cd15a28d6c01d2c165a96f1c0bcf418
        make menuconfig
        # enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS
        make htmldocs

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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306140505.ZTBob65w-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> Documentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst:57: WARNING: Unexpected indentation.
>> Documentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst:66: WARNING: undefined label: documentation/networking/devlink/devlink-params.rst (if the link has no caption the label must precede a section header)

vim +57 Documentation/networking/device_drivers/ethernet/mellanox/mlx5/switchdev.rst

    52	
    53	Usage example:
    54	Create SF:
    55	$ devlink port add pci/0000:08:00.0 flavour pcisf pfnum 0 sfnum 11
    56	$ devlink port function set pci/0000:08:00.0/32768 \
  > 57	               hw_addr 00:00:00:00:00:11 state active
    58	
    59	Enable ETH auxiliary device:
    60	$ devlink dev param set auxiliary/mlx5_core.sf.1 \
    61	              name enable_eth value true cmode driverinit
    62	
    63	Now, in order to fully probe the SF, use devlink reload:
    64	$ devlink dev reload auxiliary/mlx5_core.sf.1
    65	
  > 66	mlx5 supports ETH,rdma and vdpa (vnet) auxiliary devices devlink params (see :ref:`Documentation/networking/devlink/devlink-params.rst`)
    67	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux