Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2018-05-14 13:12:07 +0200
committerMiroslav Benes <mbenes@suse.cz>2018-05-14 13:12:07 +0200
commit293ce1f5d5ec4568d31256edb36cacbc17e70fb2 (patch)
treeb666d97d5fb2bbf3be2d798a64310d664cd719ea
parent67b1efeaf1a29a1189eeccdbbd741af1d6578214 (diff)
parent1ff8a8c400f0f3f3c9c71e279f8d77fe1ed38d37 (diff)
Merge branch 'callbacks_12.23' into bsc#1083125_12.23
-rw-r--r--patch_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch_state.c b/patch_state.c
index 2848e99..89629bf 100644
--- a/patch_state.c
+++ b/patch_state.c
@@ -147,9 +147,9 @@ int kgr_subpatch_register(unsigned long id, struct kgr_subpatch *subpatch)
subpatch_state->id = id;
INIT_LIST_HEAD(&subpatch_state->subpatches);
list_add(&subpatch_state->list, &kgr_patch_states->subpatch_states);
- subpatch->parent = subpatch_state;
add_to_list:
+ subpatch->parent = subpatch_state;
list_add(&subpatch->list, &subpatch_state->subpatches);
mutex_unlock(&kgr_patch_states->mutex);
return 0;