mbox series

[SRU,Bionic,0/1] Fix TBT ICM firmware issue

Message ID 20180503051326.10477-1-kai.heng.feng@canonical.com
Headers show
Series Fix TBT ICM firmware issue | expand

Message

Kai-Heng Feng May 3, 2018, 5:13 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1768292

[Impact]
When TBT ICM firmware is not running properly, it may crash the kernel.

[Fix]
Protect against cases when ICM is not set.

[Test]
User confirmed the additional patch works.

[Regression Potential]
Low. It adds a simple logic to avoid NULL dereference.


Mika Westerberg (1):
  thunderbolt: Prevent crash when ICM firmware is not running

 drivers/thunderbolt/icm.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

AceLan Kao May 11, 2018, 6:53 a.m. UTC | #1
Acked-By: AceLan Kao <acelan.kao@canonical.com>
Kleber Sacilotto de Souza May 15, 2018, 11:02 a.m. UTC | #2
On 05/03/18 07:13, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1768292
> 
> [Impact]
> When TBT ICM firmware is not running properly, it may crash the kernel.
> 
> [Fix]
> Protect against cases when ICM is not set.
> 
> [Test]
> User confirmed the additional patch works.
> 
> [Regression Potential]
> Low. It adds a simple logic to avoid NULL dereference.
> 
> 
> Mika Westerberg (1):
>   thunderbolt: Prevent crash when ICM firmware is not running
> 
>  drivers/thunderbolt/icm.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied to bionic/master-next branch.

Thanks,
Kleber