git-net: sctp build fix (not for applying)
Subsystems (3)
PATCH 3/3 git-net: sctp build fix (not for applying)
From: Andrew Morton <[email protected]>
net/sctp/sm_statetable.c:551: error: 'sctp_sf_tabort_8_4_8' undeclared here (not in a function)
---
net/sctp/sm_statetable.c | 2 -- 1 file changed, 2 deletions(-)
net/sctp/sm_statetable.c renamed from net/sctp/sm_statetable.c~git-net-sctp-hack +0 -2
@@ -527,8 +527,6 @@ static const sctp_sm_table_entry_t prsct/* SCTP_STATE_EMPTY */ \TYPE_SCTP_FUNC (sctp_sf_ootb), \/* SCTP_STATE_CLOSED */ \ -TYPE_SCTP_FUNC (sctp_sf_tabort_8_4_8), \ -/* SCTP_STATE_COOKIE_WAIT */ \TYPE_SCTP_FUNC (sctp_sf_discard_chunk), \/* SCTP_STATE_COOKIE_ECHOED */ \ TYPE_SCTP_FUNC(sctp_sf_eat_auth), \
_
Quoted 4 lines · [email protected] wrote:
From: Andrew Morton <[email protected]>
net/sctp/sm_statetable.c:551: error: 'sctp_sf_tabort_8_4_8' undeclared here (not in a function)
Andrew, is the a result of the merge of net-2.6.24 with net-2.6?
That's the only way I see this happening.
Quoted 11 lines
Signed-off-by Andrew Morton <[email protected]>---
net/sctp/sm_statetable.c | 2 -- 1 file changed, 2 deletions(-)diff -puN
net/sctp/sm_statetable.c~git-net-sctp-hacknet/sctp/sm_statetable.c
net/sctp/sm_statetable.c static const sctp_sm_table_entry_t prsct · line 530
Quoted 4 lines
net/sctp/sm_statetable.c renamed from net/sctp/sm_statetable.c~git-net-sctp-hack +0
-1@@ -527,8 +527,6 @@ static const sctp_sm_table_entry_t prsct/* SCTP_STATE_EMPTY */ \ TYPE_SCTP_FUNC(sctp_sf_ootb), \/* SCTP_STATE_CLOSED */ \ - TYPE_SCTP_FUNC(sctp_sf_tabort_8_4_8), \
^^^^^^^^^^^^^^^^^^^^
That should be changed to sctp_sf_ootb and then it'll compile. As is, the patch is wrong.
Thanks
-vlad
Quoted 10 lines
net/sctp/sm_statetable.c renamed from net/sctp/sm_statetable.c~git-net-sctp-hack +0
-1-/* SCTP_STATE_COOKIE_WAIT */ \TYPE_SCTP_FUNC (sctp_sf_discard_chunk), \/* SCTP_STATE_COOKIE_ECHOED */ \ TYPE_SCTP_FUNC(sctp_sf_eat_auth), \_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerFrom: Vlad Yasevich <[email protected]>
Date: Wed, 03 Oct 2007 09:50:55 -0400
Quoted 7 lines
Quoted 4 lines · [email protected] wrote:
From: Andrew Morton <[email protected]>
net/sctp/sm_statetable.c:551: error: 'sctp_sf_tabort_8_4_8' undeclared here (not in a function)Andrew, is the a result of the merge of net-2.6.24 with net-2.6?
Actually, it is a result of merging with Linus's tree since your SCTP bits were there already, that's why Andrew hit this.
Quoted 1 line
That's the only way I see this happening.
Right.
I'll resolve this cleanly as I rebase net-2.6.24 today.
Quoted 10 lines · David Miller
From: Vlad Yasevich <[email protected]>
Date: Wed, 03 Oct 2007 09:50:55 -0400Quoted 6 lines
Quoted 4 lines · [email protected] wrote:
From: Andrew Morton <[email protected]>
net/sctp/sm_statetable.c:551: error: 'sctp_sf_tabort_8_4_8' undeclared here (not in a function)Andrew, is the a result of the merge of net-2.6.24 with net-2.6?
Quoted 8 lines
Actually, it is a result of merging with Linus's tree since your SCTP bits were there already, that's why Andrew hit this.
Quoted 1 line
That's the only way I see this happening.
Right.
I'll resolve this cleanly as I rebase net-2.6.24 today.
OK. Thanks David.
-vlad