diff options
| author | Krzysztof Kozlowski <[email protected]> | 2017-05-23 20:41:40 +0200 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2017-06-07 20:40:48 +0200 |
| commit | a1ea9a400f5c76cdbe31a8f5c3154f464d84b803 (patch) | |
| tree | 9a819ac5127a9c8499e1d9086fb1e615ac99595c /net/switchdev/switchdev.c | |
| parent | 71b96c3a8a2d35f74ca7559f9d1b123d97da6f4f (diff) | |
pinctrl: samsung: Handle memory allocation failure during wakeup banks init
Check if kmemdup failed during wakeup banks initialization. Otherwise
NULL pointer would be stored under "irq_chip" member of bank and later
dereferenced in interrupt handler.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions