projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06a81c1
)
thunderbolt: merge fix for kunix_resource changes
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Tue, 30 Jun 2020 05:51:50 +0000
(15:51 +1000)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 9 Aug 2020 18:06:10 +0000
(11:06 -0700)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/thunderbolt/test.c
patch
|
blob
|
history
diff --git
a/drivers/thunderbolt/test.c
b/drivers/thunderbolt/test.c
index
acb8b62
..
a4d7881
100644
(file)
--- a/
drivers/thunderbolt/test.c
+++ b/
drivers/thunderbolt/test.c
@@
-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);
}