Subject: linux-next: tree build warning

From: Stephen Rothwell <[email-masked]>
Date: Thu, 4 Dec 2008 10:33:07 +1100

Hi all,

Today's linux-next build (powerpc ppc64_defconfig) produced this warning:

drivers/ieee1394/sbp2.c: In function 'sbp2_create_command_orb':
drivers/ieee1394/sbp2.c:1559: warning: unused variable 'dmadev'

Caused by commit 15e09c0ecaab4a1b4a7ed69db536c38948b92279 ("powerpc: Add
sync_*_for_* to dma_ops") from the powerpc tree.  The macros added for
!CONFIG_PPC_NEED_DMA_SYNC_OPS should really be static inline functions.

(as akpm says: "program in C not C preprocessor").
-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/