aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorGuangqing Zhu <[email protected]>2021-04-21 14:36:50 +0000
committerSebastian Reichel <[email protected]>2021-04-21 21:06:14 +0000
commitd0a43c12ee9f57ddb284272187bd18726c2c2c98 (patch)
tree1d6c5f2f1f65264d8327d6099249491e21b4de3a /lib/dump_stack.c
parentpower: supply: bq256xx: add kerneldoc for structure members (diff)
downloadkernel-d0a43c12ee9f57ddb284272187bd18726c2c2c98.tar.gz
kernel-d0a43c12ee9f57ddb284272187bd18726c2c2c98.zip
power: supply: cpcap-battery: fix invalid usage of list cursor
Fix invalid usage of a list_for_each_entry in cpcap_battery_irq_thread(). Empty list or fully traversed list points to list head, which is not NULL (and before the first element containing real data). Signed-off-by: Guangqing Zhu <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Reviewed-by: Carl Philipp Klemm <[email protected]> Tested-by: Carl Philipp Klemm <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions