Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 20, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

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:[email protected]]
Sent: Tuesday, March 20, 2018 12:57 PM
To: Tejun Heo <[email protected]>
Cc: Linux-Next Mailing List <[email protected]>; Linux Kernel Mailing List <[email protected]>; Richard Zhu <[email protected]>
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")

Signature · 2 lines
Cheers,
Stephen Rothwell