summaryrefslogtreecommitdiff
path: root/flowtop/Makefile
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-07-29 12:46:08 +0300
committerTobias Klauser <tklauser@distanz.ch>2017-08-10 09:03:37 +0200
commit19348cec323373d84674c1d2cf34315cbf47c80d (patch)
tree3dd13803e6f9b2e84ff85b90b17a9cbc97bc93ea /flowtop/Makefile
parentd55874b960a8663cc86284fad4d0472ff37b7a7e (diff)
trafgen: dev_io: Change read/write to specify struct packet *
Refactor dev_io_ops read & write to specify struct packet *, it may simplify a bit a caller logic. And it allow to keep required members within one struct packet object. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop/Makefile')
0 files changed, 0 insertions, 0 deletions
>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 'include/uapi/scsi')