Skip to content
Snippets Groups Projects
Commit 2378bd0b authored by Charles Han's avatar Charles Han Committed by Corey Minyard
Browse files

ipmi: ipmb: Add check devm_kasprintf() returned value


devm_kasprintf() can return a NULL pointer on failure but this
returned value is not checked.

Fixes: 51bd6f29 ("Add support for IPMB driver")
Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
Message-ID: <20240926094419.25900-1-hanchunchao@inspur.com>
Signed-off-by: default avatarCorey Minyard <corey@minyard.net>
parent 11a299a7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment