Repository navigation
ASoC: SOF: topology: goto found: if a dai is found - #392
Merged
Merged
Conversation
ranj063
reviewed
Dec 7, 2018
Collaborator
There was a problem hiding this comment.
@bardliao does this really fix the problem? sof_dai will be assigned as the list is iterated so I dont see the use of a temp variable.
There was a problem hiding this comment.
@ranj063 the issue is in line 2395, we were using sof_dai as a matching flag at the same time, I think this is a good fix.
Collaborator
Collaborator
Author
There was a problem hiding this comment.
ranj063
reviewed
Dec 7, 2018
bardliao
force-pushed
the
issue-343
branch
2 times, most recently
from
December 7, 2018 06:01
09329db to
e09f08c
Compare
ranj063
approved these changes
Dec 7, 2018
plbossart
approved these changes
Dec 7, 2018
plbossart
left a comment
Member
There was a problem hiding this comment.
LGTM. Please try and resolve conflicts before submitting next time, github lets you know if you have any conflicts in the PR.
Member
|
well the conflict resolution failed, so please resubmit. |
sof_dai will be assigned when list_for_each_entry walk through list. So, sof_dai won't be null even there is no dai found. Use goto statement instead. Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
bardliao
force-pushed
the
issue-343
branch
2 times, most recently
from
December 8, 2018 08:38
e09f08c to
fcdc49a
Compare
Collaborator
Author
|
@plbossart The conflict is resolved. thanks |
Collaborator
Author
|
@plbossart Thanks :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sof_dai will be assigned when list_for_each_entry walk through list.
So, sof_dai won't be null even there is no dai found. Use goto statement
instead.
Signed-off-by: Bard liao yung-chuan.liao@linux.intel.com