Re: [PATCH v6 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

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

 



Hi Yifeng,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on rockchip/for-next]
[also build test WARNING on robh/for-next linus/master v5.7]
[cannot apply to next-20200608]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Yifeng-Zhao/Add-Rockchip-NFC-drivers-for-RK3308-and-others/20200609-155150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project bc2b70982be8f5250cd0082a7190f8b417bd4dfe)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> drivers/mtd/nand/raw/rockchip-nand-controller.c:1180:18: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.bch_st_off             = 0x20,
^~~~
drivers/mtd/nand/raw/rockchip-nand-controller.c:1179:18: note: previous initialization is here
.bch_st_off             = 0x20,
^~~~
1 warning generated.

vim +1180 drivers/mtd/nand/raw/rockchip-nand-controller.c

  1166	
  1167	static struct nfc_cfg nfc_v8_cfg = {
  1168			.type			= NFC_V8,
  1169			.ecc_strengths		= {16, 16, 16, 16},
  1170			.ecc_cfgs		= {
  1171				0x00000001, 0x00000001, 0x00000001, 0x00000001,
  1172			},
  1173			.flctl_off		= 0x08,
  1174			.bchctl_off		= 0x0C,
  1175			.dma_cfg_off		= 0x10,
  1176			.dma_data_buf_off	= 0x14,
  1177			.dma_oob_buf_off	= 0x18,
  1178			.dma_st_off		= 0x1C,
  1179			.bch_st_off		= 0x20,
> 1180			.bch_st_off		= 0x20,
  1181			.randmz_off		= 0x150,
  1182			.int_en_off		= 0x16C,
  1183			.int_clr_off		= 0x170,
  1184			.int_st_off		= 0x174,
  1185			.oob0_off		= 0x200,
  1186			.oob1_off		= 0x230,
  1187			.ecc0			= {
  1188				.err_flag_bit	= 2,
  1189				.low		= 3,
  1190				.low_mask	= 0x1F,
  1191				.low_bn		= 5,
  1192				.high		= 27,
  1193				.high_mask	= 0x1,
  1194			},
  1195			.ecc1			= {
  1196				.err_flag_bit	= 15,
  1197				.low		= 16,
  1198				.low_mask	= 0x1F,
  1199				.low_bn		= 5,
  1200				.high		= 29,
  1201				.high_mask	= 0x1,
  1202			},
  1203	};
  1204	

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip

[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux