[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202402172116.yfeRMLEF-lkp@intel.com>
Date: Sat, 17 Feb 2024 21:48:09 +0800
From: kernel test robot <lkp@...el.com>
To: Md Sadre Alam <quic_mdalam@...cinc.com>, andersson@...nel.org,
konrad.dybcio@...aro.org, broonie@...nel.org, robh@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
miquel.raynal@...tlin.com, richard@....at, vigneshr@...com,
manivannan.sadhasivam@...aro.org, linux-arm-msm@...r.kernel.org,
linux-spi@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org
Cc: oe-kbuild-all@...ts.linux.dev, quic_srichara@...cinc.com,
quic_varada@...cinc.com, quic_mdalam@...cinc.com
Subject: Re: [PATCH 3/5] spi: spi-qpic: Add qpic spi nand driver support
Hi Md,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20240215]
[also build test WARNING on linus/master v6.8-rc4]
[cannot apply to mtd/nand/next broonie-spi/for-next robh/for-next v6.8-rc4 v6.8-rc3 v6.8-rc2]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Md-Sadre-Alam/spi-dt-bindings-add-binding-doc-for-spi-qpic-snand/20240215-215348
base: next-20240215
patch link: https://lore.kernel.org/r/20240215134856.1313239-4-quic_mdalam%40quicinc.com
patch subject: [PATCH 3/5] spi: spi-qpic: Add qpic spi nand driver support
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240217/202402172116.yfeRMLEF-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240217/202402172116.yfeRMLEF-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402172116.yfeRMLEF-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/spi/spi-qpic-snand.c: In function 'qpic_snand_ecc_init_ctx_pipelined':
drivers/spi/spi-qpic-snand.c:161:14: warning: variable 'ecc_user' set but not used [-Wunused-but-set-variable]
161 | bool ecc_user = false;
| ^~~~~~~~
drivers/spi/spi-qpic-snand.c:160:42: warning: variable 'desired_correction' set but not used [-Wunused-but-set-variable]
160 | int step_size = 0, strength = 0, desired_correction = 0, steps;
| ^~~~~~~~~~~~~~~~~~
drivers/spi/spi-qpic-snand.c: In function 'qpic_snand_read_oob':
drivers/spi/spi-qpic-snand.c:399:13: warning: variable 'oob_buf' set but not used [-Wunused-but-set-variable]
399 | u8 *oob_buf;
| ^~~~~~~
drivers/spi/spi-qpic-snand.c: In function 'snandc_check_error':
drivers/spi/spi-qpic-snand.c:452:37: warning: variable 'erased' set but not used [-Wunused-but-set-variable]
452 | bool serial_op_err = false, erased;
| ^~~~~~
drivers/spi/spi-qpic-snand.c: In function 'qpic_snand_write_page_cache':
>> drivers/spi/spi-qpic-snand.c:682:30: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
682 | snandc->wbuf = op->data.buf.out;
| ^
>> drivers/spi/spi-qpic-snand.c:675:30: warning: variable 's_op' set but not used [-Wunused-but-set-variable]
675 | struct qpic_snand_op s_op = {};
| ^~~~
vim +/const +682 drivers/spi/spi-qpic-snand.c
671
672 static int qpic_snand_write_page_cache(struct qcom_nand_controller *snandc,
673 const struct spi_mem_op *op)
674 {
> 675 struct qpic_snand_op s_op = {};
676 u32 cmd;
677
678 cmd = qpic_snand_cmd_mapping(snandc, op->cmd.opcode);
679 s_op.cmd_reg = cmd;
680
681 if (op->cmd.opcode == SPINAND_PROGRAM_LOAD) {
> 682 snandc->wbuf = op->data.buf.out;
683 snandc->wlen = op->data.nbytes;
684 }
685
686 return 0;
687 }
688
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists