Skip to content
Snippets Groups Projects
Commit eb40e3e8 authored by Connor Hansen's avatar Connor Hansen Committed by John W. Linville
Browse files

drivers/ssb/driver_chipcommon_pmu.c: uninitilized warning


warning message
drivers/ssb/driver_chipcommon_pmu.c: In function ssb_pmu_resources_init
drivers/ssb/driver_chipcommon_pmu.c:420:15: warning: updown_tab_size may
be used uninitilized in this function.

updown_tab_size and depend_tab_size may not be set in the bus->chip_id
switch statement, so set to 0 by default to avoid using uninitialized
stack space.

Signed-off-by: default avatarConnor Hansen <cmdkhh@gmail.com>
Signed-off-by: default avatarMichael Buesch <m@bues.ch>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a6af1d84
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment