28 Mar, 2019
1 commit
-
No check is enforced for the return value of kzalloc,
which may lead to NULL-pointer dereference.The patch fixes this issue.
Signed-off-by: Kangjie Lu
Reviewed-by: Mukesh Ojha
Signed-off-by: Mika Westerberg
20 Mar, 2019
2 commits
-
kmemdup may fail and return NULL. The fix adds a check and returns
NULL in case it fails to avoid NULL pointer dereferecen.Signed-off-by: Kangjie Lu
Signed-off-by: Mika Westerberg -
In case kzalloc fails, the fix releases resources and returns
-ENOMEM to avoid the NULL pointer dereference.Signed-off-by: Kangjie Lu
Signed-off-by: Mika Westerberg
03 Oct, 2018
1 commit
-
This gets rid of the licence boilerplate duplicated in each file. While
there fix doubled space in domain.c author line.No functional changes intended.
Signed-off-by: Mika Westerberg
Acked-by: Yehezkel Bernat
Signed-off-by: Greg Kroah-Hartman
03 Oct, 2017
1 commit
-
Thunderbolt XDomain discovery protocol uses directories which contain
properties and other directories to exchange information about what
capabilities the remote host supports. This also includes identification
information like device ID and name.This adds support for parsing and formatting these properties and
establishes an API drivers can use in addition to the core Thunderbolt
driver. This API is exposed in a new header: include/linux/thunderbolt.h.This code is based on the work done by Amir Levy and Michael Jamet.
Signed-off-by: Michael Jamet
Signed-off-by: Mika Westerberg
Reviewed-by: Yehezkel Bernat
Reviewed-by: Andy Shevchenko
Signed-off-by: David S. Miller