On Tue, Apr 09, 2024 at 12:14:20AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/leon-for-next > head: c3236d538646c8e333370d71cb1d1e37e8996eaf > commit: c3236d538646c8e333370d71cb1d1e37e8996eaf [12/12] RDMA/hns: Support DSCP > config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240409/202404090005.YRqvDvXD-lkp@xxxxxxxxx/config) > compiler: s390-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240409/202404090005.YRqvDvXD-lkp@xxxxxxxxx/reproduce) > > 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/202404090005.YRqvDvXD-lkp@xxxxxxxxx/ > > All warnings (new ones prefixed by >>): > > drivers/infiniband/hw/hns/hns_roce_hw_v2.c: In function 'hns_roce_set_sl': > >> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:4864:13: warning: unused variable 'sl_num' [-Wunused-variable] > 4864 | u32 sl_num; > | ^~~~~~ > -- > drivers/infiniband/hw/hns/hns_roce_ah.c: In function 'hns_roce_create_ah': > >> drivers/infiniband/hw/hns/hns_roce_ah.c:65:13: warning: unused variable 'max_sl' [-Wunused-variable] > 65 | u32 max_sl; > | ^~~~~~ > Thanks for the report, fixed.