Skip to content

Commit

Permalink
thunderbolt: merge fix for kunix_resource changes
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed Aug 9, 2020
1 parent 06a81c1 commit 71fa1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thunderbolt/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ static int __ida_init(struct kunit_resource *res, void *context)
struct ida *ida = context;

ida_init(ida);
res->allocation = ida;
res->data = ida;
return 0;
}

static void __ida_destroy(struct kunit_resource *res)
{
struct ida *ida = res->allocation;
struct ida *ida = res->data;

ida_destroy(ida);
}
Expand Down

0 comments on commit 71fa1a4

Please sign in to comment.