summaryrefslogtreecommitdiffstats
path: root/lib/crc7.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2013-12-16 10:54:13 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-12-16 14:38:02 +0100
commit00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a (patch)
treea801b13badc66a26abae11f4ee48823e62f076e0 /lib/crc7.c
parents390/cio: fix unlocked access of online member (diff)
downloadlinux-00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a.tar.xz
linux-00381eeb47ef6b3b70d2a17c89a8205b6f1aa00a.zip
s390/cio: use device_lock to synchronize calls to the ccw driver
When calling set_{on,off}line of a ccw device driver we hold the module reference of the owner. This is pretty useless - we don't want to prevent module unloading but driver unbinding. Use the driver core's device_lock instead. Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions