aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <[email protected]>2009-02-04 15:12:17 -0800
committerLinus Torvalds <[email protected]>2009-02-05 12:56:48 -0800
commitdfecb7164eb81fbfae93fee1ad1da2ac58bb224d (patch)
tree44dc3ffe7d75ab73417f561f12914137bef8c1aa /lib/string_helpers.c
parentab92661d5d9514647346047f30f67a7f35ffea67 (diff)
atmel-ssc: fix misuse of dev_dbg when requested ssc instance is not found
The ssc pointer is not valid when the id is not found in the list. Convert the message from a debug one into an error message and avoid dereferencing the bad pointer. Signed-off-by: Hans-Christian Egtvedt <[email protected]> Cc: Kay Sievers <[email protected]> Cc: Huang Weiyi <[email protected]> Acked-by: Haavard Skinnemoen <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions