summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-02-02 19:56:58 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:08:31 -0700
commit72e0641e1b32ca9c927a344f4e3b531dd9f60b8a (patch)
treef630e8aa5b264e42f6c316455183f954389d6188 /include/linux/errqueue.h
parent3b393d9d9a13f920da616ab17a91e780f1a4cdcf (diff)
power: Ensure power_supply_config is zero-initialized
Since the config object is created on the stack, ensure that it is initialized to zero. Otherwise an invalid pointer access may occur when trying to dereference the cfg->of_node pointer that's typically left unset. Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions