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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 21 Aug 2023 12:02:13 +1000

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.

-- 
Cheers,
Stephen Rothwell