summaryrefslogtreecommitdiff
path: root/src/lib/trace.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-07 17:15:51 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-10 19:52:24 +0200
commita5650a4b4ac85722d772083761ffea32557774b4 (patch)
tree188f35747cf3f64d157bf7ef99e233d8dc6c27a2 /src/lib/trace.c
parentda09be6328505ac4473aff48b8ef27b9986bfa22 (diff)
Use dev_lock for alloc_find_dev()
If threads called alloc_find_dev() with same device_path simultaneously, two device nodes could be allocated. This bug is not triggered by current code. Change-Id: Ifc87021c8d6f422901c5de5dd17392e3e2309afa Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1188 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Sven Schnelle <svens@stackframe.org>
Diffstat (limited to 'src/lib/trace.c')
0 files changed, 0 insertions, 0 deletions