]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dma-mapping: fix debug messages in dmabounce code
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 13 Jun 2012 12:04:58 +0000 (14:04 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 13 Jun 2012 12:25:16 +0000 (14:25 +0200)
commit0005984fc0b23365748fab4f93b73abbc47bd3b5
treee3920c5e763fd4c1a916e3ec05dd41d543ded3fa
parentb25f89b3fa9f3aaef10555e1db98a7c94faf4210
ARM: dma-mapping: fix debug messages in dmabounce code

This patch fixes the usage of uninitialized variables in dmabounce code
intoduced by commit 60efaf69 ('ARM: dma-mapping: remove offset parameter
to prepare for generic dma_ops'):
arch/arm/common/dmabounce.c: In function ‘dmabounce_sync_for_device’:
arch/arm/common/dmabounce.c:409: warning: ‘off’ may be used uninitialized in this function
arch/arm/common/dmabounce.c:407: note: ‘off’ was declared here
arch/arm/common/dmabounce.c: In function ‘dmabounce_sync_for_cpu’:
arch/arm/common/dmabounce.c:369: warning: ‘off’ may be used uninitialized in this function
arch/arm/common/dmabounce.c:367: note: ‘off’ was declared here

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/common/dmabounce.c