diff options
author | Georgi Djakov <georgi.djakov@linaro.org> | 2020-02-26 12:04:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-03 08:02:57 +0100 |
commit | 3791163602f7140011a8dc1691cfe6ec0cb1ef07 (patch) | |
tree | ec3e52e893fb9cec4b5f13f3df3b7b39c86b0f8f /drivers/bus | |
parent | altera-stapl: altera_get_note: prevent write beyond end of 'key' (diff) | |
download | linux-3791163602f7140011a8dc1691cfe6ec0cb1ef07.tar.xz linux-3791163602f7140011a8dc1691cfe6ec0cb1ef07.zip |
interconnect: Handle memory allocation errors
When we allocate memory, kasprintf() can fail and we must check its
return value.
Fixes: 05309830e1f8 ("interconnect: Add a name to struct icc_path")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Link: https://lore.kernel.org/r/20200226110420.5357-2-georgi.djakov@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions