From: kernel test robot <lkp@intel.com>
To: Md Sadre Alam <quic_mdalam@quicinc.com>,
andersson@kernel.org, konrad.dybcio@linaro.org,
broonie@kernel.org, robh@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com,
manivannan.sadhasivam@linaro.org, linux-arm-msm@vger.kernel.org,
linux-spi@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org
Cc: oe-kbuild-all@lists.linux.dev, quic_srichara@quicinc.com,
quic_varada@quicinc.com, quic_mdalam@quicinc.com
Subject: Re: [PATCH 3/5] spi: spi-qpic: Add qpic spi nand driver support
Date: Sat, 17 Feb 2024 21:48:09 +0800 [thread overview]
Message-ID: <202402172116.yfeRMLEF-lkp@intel.com> (raw)
In-Reply-To: <20240215134856.1313239-4-quic_mdalam@quicinc.com>
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@intel.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
next prev parent reply other threads:[~2024-02-17 13:49 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-15 13:48 [PATCH 0/5] Add QPIC SPI NAND driver Md Sadre Alam
2024-02-15 13:48 ` [PATCH 1/5] spi: dt-bindings: add binding doc for spi-qpic-snand Md Sadre Alam
2024-02-15 14:22 ` Mark Brown
2024-02-20 12:05 ` Md Sadre Alam
2024-02-15 14:24 ` Conor Dooley
2024-02-20 12:06 ` Md Sadre Alam
2024-02-15 19:02 ` Krzysztof Kozlowski
2024-02-20 12:28 ` Md Sadre Alam
2024-02-15 13:48 ` [PATCH 2/5] drivers: mtd: nand: Add qpic_common API file Md Sadre Alam
2024-02-15 15:00 ` Dmitry Baryshkov
2024-02-20 15:59 ` Md Sadre Alam
2024-02-20 16:07 ` Dmitry Baryshkov
2024-02-21 10:38 ` Md Sadre Alam
2024-02-15 17:55 ` Konrad Dybcio
2024-02-20 12:21 ` Md Sadre Alam
2024-02-16 15:29 ` Kathiravan Thirumoorthy
2024-02-20 12:30 ` Md Sadre Alam
2024-02-15 13:48 ` [PATCH 3/5] spi: spi-qpic: Add qpic spi nand driver support Md Sadre Alam
2024-02-15 14:14 ` Mark Brown
2024-02-20 11:54 ` Md Sadre Alam
2024-02-20 16:04 ` Mark Brown
2024-02-21 10:36 ` Md Sadre Alam
2024-02-15 17:57 ` Konrad Dybcio
2024-02-20 12:14 ` Md Sadre Alam
2024-03-06 6:01 ` Md Sadre Alam
2024-03-06 16:27 ` Konrad Dybcio
2024-03-07 4:10 ` Md Sadre Alam
2024-02-17 13:48 ` kernel test robot [this message]
2024-02-17 18:41 ` kernel test robot
2024-02-18 8:14 ` kernel test robot
2024-02-15 13:48 ` [PATCH 4/5] arm64: dts: qcom: ipq9574: Add SPI nand support Md Sadre Alam
2024-02-16 15:40 ` Kathiravan Thirumoorthy
2024-02-20 12:31 ` Md Sadre Alam
2024-02-15 13:48 ` [PATCH 5/5] arm64: dts: qcom: ipq9574: Disable eMMC node Md Sadre Alam
2024-02-15 15:00 ` Dmitry Baryshkov
2024-02-15 17:58 ` Konrad Dybcio
2024-02-20 12:16 ` Md Sadre Alam
2024-02-20 12:12 ` Md Sadre Alam
2024-02-16 15:43 ` Kathiravan Thirumoorthy
2024-02-20 12:33 ` Md Sadre Alam
2024-02-19 13:04 ` [PATCH 0/5] Add QPIC SPI NAND driver Manivannan Sadhasivam
2024-02-20 11:32 ` Md Sadre Alam
2024-02-20 11:36 ` Krzysztof Kozlowski
2024-02-21 10:34 ` Md Sadre Alam
2024-02-21 11:01 ` Krzysztof Kozlowski
2024-02-21 11:08 ` Md Sadre Alam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202402172116.yfeRMLEF-lkp@intel.com \
--to=lkp@intel.com \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=miquel.raynal@bootlin.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_mdalam@quicinc.com \
--cc=quic_srichara@quicinc.com \
--cc=quic_varada@quicinc.com \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).