Message ID | 20200721114252.GD5180@lahna.fi.intel.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 71fa1a4489ff93ac4acd7e6c5b00098ba53a4485 |
Headers | show |
Series | [GIT,PULL] Thunderbolt/USB4 changes for v5.9 merge window | expand |
On Tue, Jul 21, 2020 at 02:42:52PM +0300, Mika Westerberg wrote: > Hi Greg, > > The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: > > Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v5.9 Pulled and pushed out, thanks. > for you to fetch changes up to ef7e12078ab832c72315adcfa05e7a9498a5e109: > > thunderbolt: Fix old style declaration warning (2020-07-02 14:50:11 +0300) > > ---------------------------------------------------------------- > thunderbolt: Changes for v5.9 merge window > > This includes following Thunderbolt/USB4 changes for v5.9 merge window: > > * Improvements around NHI (Native Host Interface) HopID allocation > > * Improvements to tunneling and USB3 bandwidth management support > > * Add KUnit tests for path walking and tunneling > > * Initial support for USB4 retimer firmware upgrade > > * Implement Thunderbolt device firmware upgrade mechanism that runs > the NVM image authentication when the device is disconnected. > > * A couple of small non-critical fixes > > ---------------------------------------------------------------- > > Please notice when merged with kunit-next tree there will be a build > error because the one member (allocation) of struct kunit_resource was > renamed with linux-next commit d4cdd146d0db ("kunit: generalize > kunit_resource API beyond allocated resources"). Linux-next carries a > fix that is at the end of this email to solve the issue (from Stephen > Rothwell). > > Let me know if you prefer that I merge kunit-next branch to my -next > branch and resolve it there first. Nah, that branch can worry about things when it gets to Linus :) thanks, greg k-h
diff --git a/drivers/thunderbolt/test.c b/drivers/thunderbolt/test.c index acb8b6256847..a4d78811f7e2 100644 --- 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); }