Thread (20 messages) flat view 20 messages, 3 authors, 2008-12-17

Re: [PATCH 5/5] powerpc/83xx: Fix sparse warnings in mpc836x_mds.c

From: Kumar Gala <hidden>
Date: 2008-12-16 18:29:25

On Dec 3, 2008, at 1:27 PM, Anton Vorontsov wrote:
This patch fixes following sparse warnings:

 CHECK   mpc836x_mds.c
mpc836x_mds.c:75:12: warning: Using plain integer as NULL pointer
mpc836x_mds.c:79:13: warning: incorrect type in assignment  
(different address spaces)
mpc836x_mds.c:79:13:    expected unsigned char [usertype] *static  
[toplevel] bcsr_regs
mpc836x_mds.c:79:13:    got void [noderef] <asn:2>*
mpc836x_mds.c:105:3: warning: incorrect type in argument 1  
(different address spaces)
mpc836x_mds.c:105:3:    expected unsigned char volatile [noderef]  
[usertype] <asn:2>*addr
mpc836x_mds.c:105:3:    got unsigned char [usertype] *
mpc836x_mds.c:105:3: warning: incorrect type in argument 1  
(different address spaces)
mpc836x_mds.c:105:3:    expected unsigned char const volatile  
[noderef] [usertype] <asn:2>*addr
mpc836x_mds.c:105:3:    got unsigned char [usertype] *
mpc836x_mds.c:107:3: warning: incorrect type in argument 1  
(different address spaces)
mpc836x_mds.c:107:3:    expected unsigned char volatile [noderef]  
[usertype] <asn:2>*addr
mpc836x_mds.c:107:3:    got unsigned char [usertype] *
mpc836x_mds.c:107:3: warning: incorrect type in argument 1  
(different address spaces)
mpc836x_mds.c:107:3:    expected unsigned char const volatile  
[noderef] [usertype] <asn:2>*addr
mpc836x_mds.c:107:3:    got unsigned char [usertype] *
mpc836x_mds.c:131:11: warning: incorrect type in argument 1  
(different address spaces)
mpc836x_mds.c:131:11:    expected void volatile [noderef] <asn:2>*addr
mpc836x_mds.c:131:11:    got unsigned char [usertype] *static  
[toplevel] bcsr_regs

Signed-off-by: Anton Vorontsov <redacted>
---
arch/powerpc/platforms/83xx/mpc836x_mds.c |    6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
applied to next

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help