linux-next: build failure after merge of the mmc tree
Subsystems (4)
Hi all,
After merging the mmc tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_probe':drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7: error: 'SDIO_DEVICE_ID_CYPRESS_4373' undeclared (first use in this function); did you mean 'SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373'?
915 | case SDIO_DEVICE_ID_CYPRESS_4373:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7: note: each undeclared identifier is reported only once for each function it appears in
Caused by commit
1eb911258805 ("mmc: sdio: Fix Cypress SDIO IDs macros in common include file")
interacting with commit
2a7621ded321 ("brcmfmac: set F2 blocksize for 4373")
from the net-next tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Tue, 2 Jun 2020 13:41:04 +1000
Subject: [PATCH] mmc: sdio: merge fix for "brcmfmac: set F2 blocksize for
4373"
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +1 -1
@@ -912,7 +912,7 @@ static int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev) goto out; }switch (sdiodev->func2->device) { -case SDIO_DEVICE_ID_CYPRESS_4373 : +case SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373 : f2_blksz =SDIO_4373_FUNC2_BLOCKSIZE ;break ;case SDIO_DEVICE_ID_BROADCOM_4359 :
Signature · 5 lines
2.26.2 -- Cheers, Stephen Rothwell
+ Linus
Quoted 23 lines · Stephen Rothwell
Hi all,
After merging the mmc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_probe':drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7: error: 'SDIO_DEVICE_ID_CYPRESS_4373' undeclared (first use in this function); did you mean 'SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373'?915 | case SDIO_DEVICE_ID_CYPRESS_4373: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7: note: each undeclared identifier is reported only once for each function it appears inCaused by commit
1eb911258805("mmc: sdio: Fix Cypress SDIO IDs macros in common include file")interacting with commit
2a7621ded321("brcmfmac: set F2 blocksize for 4373")from the net-next tree.
Quoted 8 lines
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Tue, 2 Jun 2020 13:41:04 +1000
Subject: [PATCH] mmc: sdio: merge fix for "brcmfmac: set F2 blocksize for
4373"Signed-off-by Stephen Rothwell <[email protected]>
Thanks Stephen for fixing and reporting about this!
Looks like the fix is rather trivial, so I assume Linus can cherry-pick your patch, while merging my pull request for mmc for v5.8. In any case, I will monitor the process and send a fix on top, if needed.
Kind regards
Uffe
Quoted 23 lines
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c +1
-2@@ -912,7 +912,7 @@ static int brcmf_sdiod_probe(struct brcmf_sdio_dev *sdiodev) goto out; }switch (sdiodev->func2->device) { -case SDIO_DEVICE_ID_CYPRESS_4373 : +case SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373 : f2_blksz =SDIO_4373_FUNC2_BLOCKSIZE ;break ;case SDIO_DEVICE_ID_BROADCOM_4359 : --2.26.2
--
Cheers,
Stephen Rothwell
Quoted 19 lines · Stephen Rothwell
Hi all,
After merging the mmc tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_sdiod_probe':drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7:
error: 'SDIO_DEVICE_ID_CYPRESS_4373' undeclared (first use in this function); did you mean 'SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373'?915 | case SDIO_DEVICE_ID_CYPRESS_4373: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcmsdh.c:915:7: note: each undeclared identifier is reported only once for each function it appears inCaused by commit
1eb911258805("mmc: sdio: Fix Cypress SDIO IDs macros in common include file")
Quoted 7 lines
interacting with commit
2a7621ded321("brcmfmac: set F2 blocksize for 4373")from the net-next tree.
I have applied the following merge fix patch.
Looks good to me, thanks. Ulf, I guess you will notify Linus about the conflict in your pull request?
Signature · 1 line
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches