diff options
| author | Anton Vasilyev <[email protected]> | 2018-08-06 19:06:35 +0300 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-08-10 23:12:43 +0200 |
| commit | 504c76979bccec66e4c2e41f6a006e49e284466f (patch) | |
| tree | 3382955b0359f03dd734682295b2bd628e339d9b /drivers/usb/cdns3/cdns3-ti.c | |
| parent | 01f1974e5f08732de6cecc4287788a99cfc3b325 (diff) | |
pinctrl: axp209: Fix NULL pointer dereference after allocation
There is no check that allocation in axp20x_funcs_groups_from_mask
is successful.
The patch adds corresponding check and return values.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions