aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2019-03-24 18:10:02 -0500
committerBartosz Golaszewski <[email protected]>2019-03-25 09:26:48 +0100
commit6cf4511e9729c00a7306cf94085f9cc3c52ee723 (patch)
tree5725259b33dc4479a21502412c95b2299ac06fc2 /net/lapb/lapb_in.c
parentb45a02e13ee74b6fde56df4d76786058821a3aba (diff)
gpio: aspeed: fix a potential NULL pointer dereference
In case devm_kzalloc, the patch returns ENOMEM to avoid potential NULL pointer dereference. Signed-off-by: Kangjie Lu <[email protected]> Reviewed-by: Andrew Jeffery <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions