Re: linux-next: build failure after merge of the nand tree

From: Md Sadre Alam
Date: Mon Aug 21 2023 - 01:45:20 EST




On 8/21/2023 7:32 AM, Stephen Rothwell wrote:
Hi all,

After merging the nand tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/mtd/nand/raw/qcom_nandc.c: In function 'qcom_parse_instructions':
drivers/mtd/nand/raw/qcom_nandc.c:2596:38: error: unused variable 'nandc' [-Werror=unused-variable]
2596 | struct qcom_nand_controller *nandc = get_qcom_nand_controller(chip);
| ^~~~~
cc1: all warnings being treated as errors

Caused by commit

5a7688a3e2e6 ("mtd: rawnand: qcom: Add read/read_start ops in exec_op path")

I have used the nand tree from next-20230818 for today.

I have posted a patch to fix this build issue.

Link: https://patchwork.kernel.org/project/linux-arm-msm/patch/20230821053513.13728-1-quic_mdalam@xxxxxxxxxxx/