commit | 473195f80f3940afc8a1461831d74f9a44bba538 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Sep 09 18:03:54 2016 +0800 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Sep 22 00:14:41 2016 +0200 |
tree | 8807076c4bd088a3923d6b765981f1002e2f701e | |
parent | ee85bb5bbe4ae690b48625874bc2b6ecc981326e [diff] |
rtc: ac100: Add NULL checking for devm_kzalloc call devm_kzalloc can return NULL, add NULL checking to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>