linux-next: build failure after merge of the rdma tree
Hi Doug,
After merging the rdma tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
drivers/infiniband/hw/cxgb4/cm.c: In function 'send_connect':drivers/infiniband/hw/cxgb4/cm.c:830:5: error: implicit declaration of function 'PDBG' [-Werror=implicit-function-declaration]
PDBG("%s snd_isn %u\n", __func__, t6req->rsvd);
^Caused by commit
a9a42886d0b3 ("cxgb4: Convert PDBG to pr_debug")
I have used the rdma tree from next-20170420 for today.
There was another PDBG() missed in that file as well.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 10 lines · Stephen Rothwell
Hi Doug,
After merging the rdma tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
drivers/infiniband/hw/cxgb4/cm.c: In function 'send_connect':drivers/infiniband/hw/cxgb4/cm.c:830:5: error: implicit declaration of function 'PDBG' [-Werror=implicit-function-declaration]PDBG("%s snd_isn %u\n", __func__, t6req->rsvd); ^
Quoted 7 lines
Caused by commit
a9a42886d0b3("cxgb4: Convert PDBG topr_debug")I have used the rdma tree from next-20170420 for today.
There was another
PDBG()missed in that file as well.
Pretty sure there were crossing commits adding PDBG() as the original patches were written against next-20170209
Quoted 1 line
From my tree:
$ git log --pretty=oneline -5 747edc68212781296de30dd2b4e63711240da7a9 747edc68212781296de30dd2b4e63711240da7a9 cxgb4: Convert PDBG to pr_debug d054cd530aeef452c7c252504f7d4d6ebba31ae3 cxgb4: Use more common logging style 41a74ceecd35cf2f38e2a1a1a394c7718547deb6 cxgb3: Convert PDBG to pr_debug 15772862930dfd2f2e10574b86c063d781976a89 cxgb3: Use more common logging style 9f7e70ff42dbf3af7ed0699906b699c41930b265 Add linux-next specific files for 20170209
$ git grep -w PDBG 747edc68212781296de30dd2b4e63711240da7a9 $
Quoted 39 lines · Joe Perches
Quoted 12 lines · Stephen Rothwell
Hi Doug,
After merging the rdma tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
drivers/infiniband/hw/cxgb4/cm.c: In function 'send_connect':drivers/infiniband/hw/cxgb4/cm.c:830:5: error: implicit declaration of function 'PDBG' [-Werror=implicit-function-declaration]PDBG("%s snd_isn %u\n", __func__, t6req->rsvd);
^Quoted 7 lines
Caused by commit
a9a42886d0b3("cxgb4: Convert PDBG topr_debug")I have used the rdma tree from next-20170420 for today.
There was another
PDBG()missed in that file as well.Pretty sure there were crossing commits adding
PDBG()as the original patches were written against next-20170209From my tree:
$ git log --pretty=oneline -5 747edc68212781296de30dd2b4e63711240da7a9 747edc68212781296de30dd2b4e63711240da7a9 cxgb4: Convert PDBG to pr_debug d054cd530aeef452c7c252504f7d4d6ebba31ae3 cxgb4: Use more common logging style 41a74ceecd35cf2f38e2a1a1a394c7718547deb6 cxgb3: Convert PDBG to pr_debug 15772862930dfd2f2e10574b86c063d781976a89 cxgb3: Use more common logging style 9f7e70ff42dbf3af7ed0699906b699c41930b265 Add linux-next specific files for 20170209
Quoted 2 lines
$ git grep -w PDBG 747edc68212781296de30dd2b4e63711240da7a9 $
I created a fix and added it to my tree.
Signature · 4 lines
Doug Ledford <[email protected]> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Hi Doug,
Quoted 2 lines · On Thu, 20 Apr 2017 22:21:15 -0400 Doug Ledford <[email protected]> wrote:
I created a fix and added it to my tree.
Thanks.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Joe,
Quoted 13 lines · On Thu, 20 Apr 2017 18:58:55 -0700 Joe Perches <[email protected]> wrote:
Pretty sure there were crossing commits adding
PDBG()as the original patches were written against next-20170209From my tree:
$ git log --pretty=oneline -5 747edc68212781296de30dd2b4e63711240da7a9 747edc68212781296de30dd2b4e63711240da7a9 cxgb4: Convert PDBG to pr_debug d054cd530aeef452c7c252504f7d4d6ebba31ae3 cxgb4: Use more common logging style 41a74ceecd35cf2f38e2a1a1a394c7718547deb6 cxgb3: Convert PDBG to pr_debug 15772862930dfd2f2e10574b86c063d781976a89 cxgb3: Use more common logging style 9f7e70ff42dbf3af7ed0699906b699c41930b265 Add linux-next specific files for 20170209
Quoted 2 lines
$ git grep -w PDBG 747edc68212781296de30dd2b4e63711240da7a9 $
In the rdma tree:
$ git log --pretty=oneline -5 a9a42886d0b3
a9a42886d0b3b989166472b7ea59b1c157d90f9b cxgb4: Convert PDBG to pr_debug
700456bd25946ef531773d1ad2dd511e1cc4515e cxgb4: Use more common logging style
b7b37ee0e137c8384c6cb3a37c4621649d5acdf6 cxgb3: Convert PDBG to pr_debug
46b2d4e8eca752003b903e68c3bec6b15fd7eba0 cxgb3: Use more common logging style
cd565b4b51e5fe258d6ce9ddc167ee51f3044ba5 IB/IPoIB: Support acceleration options callbacks
$ git grep -w PDBG a9a42886d0b3
a9a42886d0b3:drivers/infiniband/hw/cxgb4/cm.c: PDBG("%s snd_isn %u\n", __func__, t6req->rsvd);
a9a42886d0b3:drivers/infiniband/hw/cxgb4/cm.c: PDBG("%s snd_isn %u\n", __func__, t6req6->rsvd);So these were added somewhere in Doug's tree and they need to be fixed up there. Your patches were rebased/cherrypicked/applied on to Doug's tree.
Ah, the new ones come from commit
192539f4ce36 "iw_cxgb4: clean up send_connect()"
but that is in v4.11-rc1 and so should would not have been in next-20170209.
Signature · 2 lines
Cheers, Stephen Rothwell