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

Md Sadre Alam
2023-08-21T05:45:19Z

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@quicinc.com/

>