commit | 7f67957b8f015253dbccf9ed46452d83dbec6682 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Wed Jul 19 17:16:11 2023 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 03 09:40:49 2023 -0400 |
tree | d70865cf728ab52e820a73299b1160082d2f9162 | |
parent | 5a83d2b0fe0a9c6efdaeaf1b5d3dbdf7bebc2a56 [diff] |
reset: mediatek: check malloc return valaue before use This patch add missing return value check for allocating the driver's private data. -ENOMEM will be returned if malloc() fails.