RE: linux-next: build warning after merge of the libata tree

From: Richard Zhu
Date: Tue Mar 20 2018 - 01:00:11 EST


Hi Stephen:
Sorry to introduce this build warning.
I'm preparing one commit to fix it.

Best Regards
Richard Zhu

-----Original Message-----
From: Stephen Rothwell [mailto:sfr@xxxxxxxxxxxxxxxx]
Sent: Tuesday, March 20, 2018 12:57 PM
To: Tejun Heo <tj@xxxxxxxxxx>
Cc: Linux-Next Mailing List <linux-next@xxxxxxxxxxxxxxx>; Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>; Richard Zhu <hongxing.zhu@xxxxxxx>
Subject: linux-next: build warning after merge of the libata tree

Hi Tejun,

After merging the libata tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/ata/ahci_imx.c: In function 'imx_sata_disable':
drivers/ata/ahci_imx.c:478:2: warning: enumeration value 'AHCI_IMX53' not handled in switch [-Wswitch]
switch (imxpriv->type) {
^~~~~~

Introduced by commit

e5878732a521 ("ahci: imx: add the imx6qp ahci sata support")

--
Cheers,
Stephen Rothwell