2018-03-20 04:59:53

by Stephen Rothwell

[permalink] [raw]
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


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2018-03-20 05:01:14

by Richard Zhu

[permalink] [raw]
Subject: RE: linux-next: build warning after merge of the libata tree

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

--
Cheers,
Stephen Rothwell