summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_driver.h
diff options
context:
space:
mode:
authorElad Raz <eladr@mellanox.com>2017-02-06 13:56:27 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-06 11:07:21 -0500
commite158e5ef24d191462428ff1be6b5048c0168fd14 (patch)
tree4889a7f4499e43b0dc0ec5b6b440e0f6b411b33f /include/scsi/scsi_driver.h
parentb60a00f9c5f14695991cb77dce7e926623269d88 (diff)
mlxsw: reg: Fix HTGT register length
HTGT register length is limited to 32 bytes and not 256 bytes. Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/scsi/scsi_driver.h')
0 files changed, 0 insertions, 0 deletions
under `pl330->lock' but read by `pl330_tx_submit' under `pch->lock'. Second, I have removed locking from `pl330_request_channel' and `pl330_release_channel' functions. Function `pl330_request_channel' is only called from `pl330_alloc_chan_resources', so the lock is already held. Function `pl330_release_channel' is called from `pl330_free_chan_resources', which already holds the lock, and from `pl330_del'. Function `pl330_del' is called in an error path of `pl330_probe' and at the end of `pl330_remove', but I assume that there cannot be concurrent accesses to the protected data at those points. Signed-off-by: Iago Abal <mail@iagoabal.eu> Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/ceph/msgpool.c')