]> 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)
commita7102a92608668100e8e2eba1819df57c62b4261
treee3920c5e763fd4c1a916e3ec05dd41d543ded3fa
parent7cfdd18003cd15f01aa8ac01aa3e4b84794c8947
ARM: dma-mapping: fix debug messages in dmabounce code

This patch fixes the usage of uninitialized variables in dmabounce code
intoduced by commit 476cde8f ('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