tnt has submitted this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
dahdi-base: Allow reselection of the same clock master
__dahdi_find_master_span is called from a bunch of different places,
like when a span comes on-line, this is to potentially select a new
master.
However the way it's written now, when it's called, it will ALWAYS
tried to find a DIFFERENT master than what is selected now if there
is another available, no matter is the current one is earlier in the
list.
Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/dahdi-base.c
1 file changed, 0 insertions(+), 2 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
tnt: Looks good to me, approved; Verified
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index ef29c4b..43948bd 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -3995,8 +3995,6 @@
continue;
if (!can_provide_timing(s))
continue;
- if (master_span == s)
- continue;
master_span = s;
break;
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
tnt has posted comments on this change by tnt. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Tue, 17 Dec 2024 11:36:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
tnt has posted comments on this change by tnt. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Patch Set 1: Verified+1
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Tue, 17 Dec 2024 11:36:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: tnt.
tnt has removed a vote from this change. ( https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email )
Change subject: dahdi-base: Allow reselection of the same clock master
......................................................................
Removed Verified-1 by Jenkins Builder (1000002)
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39154?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: deleteVote
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Ibe2365953c5ac7f3dcc7c10526b9eb797ea320ee
Gerrit-Change-Number: 39154
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: tnt <tnt(a)246tNt.com>
Attention is currently required from: tnt.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/dahdi-linux/+/39159?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: Misc warning/build fixes for more recent kernels
......................................................................
Misc warning/build fixes for more recent kernels
Change-Id: I54e89040dfc6e21d23f620df407b6613397f7e45
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/dahdi-base.c
M drivers/dahdi/dahdi_dynamic_ethmf.c
M drivers/dahdi/wcaxx-base.c
M drivers/dahdi/wct4xxp/base.c
M drivers/dahdi/wctdm24xxp/base.c
M drivers/dahdi/wcte13xp-base.c
M drivers/dahdi/wcte43x-base.c
M drivers/dahdi/xpp/xbus-core.c
8 files changed, 15 insertions(+), 22 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/59/39159/3
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39159?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I54e89040dfc6e21d23f620df407b6613397f7e45
Gerrit-Change-Number: 39159
Gerrit-PatchSet: 3
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: tnt <tnt(a)246tNt.com>
Attention is currently required from: tnt.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/dahdi-linux/+/39159?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: Misc warning/build fixes for more recent kernels
......................................................................
Misc warning/build fixes for more recent kernels
Change-Id: I54e89040dfc6e21d23f620df407b6613397f7e45
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
---
M drivers/dahdi/dahdi-base.c
M drivers/dahdi/wct4xxp/base.c
M drivers/dahdi/wctdm24xxp/base.c
M drivers/dahdi/xpp/xbus-core.c
4 files changed, 9 insertions(+), 14 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/59/39159/2
--
To view, visit https://gerrit.osmocom.org/c/dahdi-linux/+/39159?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: I54e89040dfc6e21d23f620df407b6613397f7e45
Gerrit-Change-Number: 39159
Gerrit-PatchSet: 2
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: tnt <tnt(a)246tNt.com>