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

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