Skip to contentSkip to conversation

linux-next: build failure after merge of the phy-next tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 18, 2023 – Aug 22, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the phy-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2378:38: error: redefinition of 'qmp_pcie_offsets_v5_20'

 2378 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: note: previous definition of 'qmp_pcie_offsets_v5_20' with type 'const struct qmp_pcie_offsets'
 2357 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
      |                                      ^~~~~~~~~~~~~~~~~~~~~~

Caused by commits

a05b6d5135ec ("phy: qcom-qmp-pcie: add support for sa8775p") 64adc0bf06ad ("phy: qcom-qmp-pcie: populate offsets configuration")

I have used the phy-next tree from next-20230817 for today.

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

Hi all,

After merging the phy-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2378:38: error: redefinition of 'qmp_pcie_offsets_v5_20'

 2378 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c:2357:38: note: previous definition of 'qmp_pcie_offsets_v5_20' with type 'const struct qmp_pcie_offsets'
 2357 | static const struct qmp_pcie_offsets qmp_pcie_offsets_v5_20 = {
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
Quoted 4 lines

Caused by commits

a05b6d5135ec ("phy: qcom-qmp-pcie: add support for sa8775p") 64adc0bf06ad ("phy: qcom-qmp-pcie: populate offsets configuration")

It is fixed now, (commits dropped), sorry for the delay though

Signature · 1 line
~Vinod