]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pcie, aer: remove spinlock in aerdrv_errprint.c
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 7 Sep 2009 08:11:29 +0000 (17:11 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:48:19 +0000 (13:48 -0700)
commite3a43b92226278854884716cdd10e446291c61d5
tree2a2b7b85c11eb784c691c0857c59e8a6053004ae
parent713e23ef954c5b948fa1f1856e593662bb37e321
PCI: pcie, aer: remove spinlock in aerdrv_errprint.c

The static buffer errmsg_buff[] is used only for building error
message in fixed format, and is protected by a spinlock.

This patch removes this buffer and the spinlock.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_errprint.c