summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorWeijie Gao <[email protected]>2023-07-19 17:16:11 +0800
committerTom Rini <[email protected]>2023-08-03 09:40:49 -0400
commit6f1cc261b9f5f47175020750d45b55bb0b30b601 (patch)
treed70865cf728ab52e820a73299b1160082d2f9162 /include/linux/linux_string.h
parent0fd96bf224c1af7f8fc3bbdc814eba0349d0c334 (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/linux_string.h')
0 files changed, 0 insertions, 0 deletions