diff options
| author | Weijie Gao <[email protected]> | 2023-07-19 17:16:11 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-03 09:40:49 -0400 |
| commit | 6f1cc261b9f5f47175020750d45b55bb0b30b601 (patch) | |
| tree | d70865cf728ab52e820a73299b1160082d2f9162 /include/linux/zstd_errors.h | |
| parent | 0fd96bf224c1af7f8fc3bbdc814eba0349d0c334 (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.
Signed-off-by: Sam Shih <[email protected]>
Signed-off-by: Weijie Gao <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
