/* * lib/debug_locks.c * * Generic place for common debugging facilities for various locks: * spinlocks, rwlocks, mutexes and rwsems. * * Started by Ingo Molnar: * * Copyright (C) 2006 Red Hat, Inc., Ingo Molnar */ #include #include #include #include #include /* * We want to turn all lock-debugging facilities on/off at once, * via a global flag. The reason is that once a single bug has been * detected and reported, there might be cascade of followup bugs * that would just muddy the log. So we report the first one and * shut up after that. */ int debug_locks = 1; EXPORT_SYMBOL_GPL(debug_locks); /* * The locking-testsuite uses to get a * 'silent failure': nothing is printed to the console when * a locking bug is detected. */ int debug_locks_silent; EXPORT_SYMBOL_GPL(debug_locks_silent); /* * Generic 'turn off all lock debugging' function: */ int debug_locks_off(void) { if (__debug_locks_off()) { if (!debug_locks_silent) { console_verbose(); return 1; } } return 0; } EXPORT_SYMBOL_GPL(debug_locks_off); option> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
select name='ignorews' onchange='this.form.submit();'>
AgeCommit message (Expand)AuthorFilesLines
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2016-03-13 18:46:57 +0530
committerMark Brown <broonie@kernel.org>2016-05-30 16:29:34 +0100
commitf5a6d3516362f85d6a07e930bc10cd4b59f306c7 (patch)
tree7c9d79b686aedd9a8e1836bfd9e81cc2efcf7a8f /net/tipc/msg.c
parent1a695a905c18548062509178b98bc91e67510864 (diff)
regulator: fixed: Remove workaround to handle of_get_named_gpio() return
The GPIO interface of_get_named_gpio() has implemented the proper error returns even EPROBE_DEFER and hence caller need not to implement any workaround for translating the returned error. Remove the workaround implemented to handle the return of of_get_named_gpio(). Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/tipc/msg.c')