diff options
author | Dave Jiang <dave.jiang@intel.com> | 2015-08-25 19:58:05 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-08-26 02:23:58 (GMT) |
commit | 5c65cb93a3d066f52a109552572304675d5a52fc (patch) | |
tree | d6d763160a9a56ef042e1c4527db310d6889dba4 /drivers/dma/ioat/sysfs.c | |
parent | 4d112426c3446d94b9bc56396075524b06913b1c (diff) | |
download | linux-5c65cb93a3d066f52a109552572304675d5a52fc.tar.xz |
dmaengine: ioatdma: fix sparse "error" with prep lock
The prep lock gets acquired in ioat_check_space_lock and released in
ioat_tx_submit_unlock. Setting the annotations so sparse does not freak out.
drivers/dma/ioat/dma.c:273:30: sparse: context imbalance in 'ioat_tx_submit_unlock' - unexpected unlock
drivers/dma/ioat/dma.c:476:5: sparse: context imbalance in 'ioat_check_space_lock' - wrong count at exit
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ioat/sysfs.c')
0 files changed, 0 insertions, 0 deletions