]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/fsl: lbc: sparse fixes
authorKim Phillips <kim.phillips@freescale.com>
Fri, 30 Nov 2012 23:35:00 +0000 (17:35 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 12 Feb 2013 17:05:18 +0000 (11:05 -0600)
commit01673a135eca8c6e984488ba9c29aa0b09601f77
tree3b8ac2e9eefa8594a6e97faa6d08907422e4abe1
parent2468dcf641e4f3e1b0153e3e11ca20740b2f4ce8
powerpc/fsl: lbc: sparse fixes

arch/powerpc/sysdev/fsl_lbc.c:77:36: warning: incorrect type in initializer (different base types)
arch/powerpc/sysdev/fsl_lbc.c:77:36:    expected restricted __be32 [usertype] br
arch/powerpc/sysdev/fsl_lbc.c:77:36:    got unsigned int
arch/powerpc/sysdev/fsl_lbc.c:78:36: warning: incorrect type in initializer (different base types)
arch/powerpc/sysdev/fsl_lbc.c:78:36:    expected restricted __be32 [usertype] or
arch/powerpc/sysdev/fsl_lbc.c:78:36:    got unsigned int
arch/powerpc/sysdev/fsl_lbc.c:80:21: warning: restricted __be32 degrades to integer
arch/powerpc/sysdev/fsl_lbc.c:80:38: warning: restricted __be32 degrades to integer
arch/powerpc/sysdev/fsl_lbc.c:111:12: warning: incorrect type in assignment (different base types)
arch/powerpc/sysdev/fsl_lbc.c:111:12:    expected restricted __be32 [usertype] br
arch/powerpc/sysdev/fsl_lbc.c:111:12:    got unsigned int
arch/powerpc/sysdev/fsl_lbc.c:113:17: warning: restricted __be32 degrades to integer
arch/powerpc/sysdev/fsl_lbc.c:127:17: warning: restricted __be32 degrades to integer

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/fsl_lbc.c