lkml.org 
[lkml]   [2004]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject35 New compile/sparse warnings (overnight run)
From
Date
I realize this may represent warnings that have "moved" in the code, but
there are new warnings in...

drivers/char/cyclades.c and
drivers/net/wan/pc300_tty.c
drivers/video/radeonfb.c

Note that a large number of warnings have been fixed (I didn't list all
of those).

John

-----------------------------------------------------------------------
Compiler: gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Arch: i386


Summary:
New warnings = 35
Fixed warnings = 889

New warnings:
-------------
drivers/char/cyclades.c:2892:35: warning: incorrect type in argument 2
(different address spaces)
drivers/char/cyclades.c:2892:35: expected void const [noderef]
*from<asn:1>
drivers/char/cyclades.c:2892:35: got unsigned char const *buf
drivers/net/wan/pc300_tty.c:488:31: warning: incorrect type in argument
2 (different address spaces)
drivers/net/wan/pc300_tty.c:488:31: expected void const [noderef]
*from<asn:1>
drivers/net/wan/pc300_tty.c:488:31: got unsigned char const *buf

drivers/net/wan/pc300_tty.c:740:13: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:743:12: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:743:12: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:743:12: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:744:3: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:744:3: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:744:3: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:745:3: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:745:3: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:745:3: got unsigned short volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:751:14: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:751:47: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:751:47: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:751:47: got unsigned long volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:779:14: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:780:20: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:780:20: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:780:20: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:781:14: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:781:14: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:781:14: got unsigned short volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:786:13: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:786:43: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:786:43: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:786:43: got unsigned long volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:818:14: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:823:20: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:823:20: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:823:20: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:824:13: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:824:13: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:824:13: got unsigned short volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:862:7: warning: cast removes address space
of expression
drivers/net/wan/pc300_tty.c:862:7: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:862:7: expected void volatile [noderef]
*src<asn:2>
drivers/net/wan/pc300_tty.c:862:7: got void *<noident>

drivers/net/wan/pc300_tty.c:863:7: warning: incorrect type in argument 1
(different address spaces)
drivers/net/wan/pc300_tty.c:863:7: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:863:7: got unsigned long volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:866:4: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:866:4: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:866:4: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:867:4: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:867:4: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:867:4: got unsigned short volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:872:15: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:873:6: warning: incorrect type in argument 1
(different address spaces)
drivers/net/wan/pc300_tty.c:873:6: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:873:6: got unsigned long volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:957:14: warning: cast removes address space
of expression

drivers/net/wan/pc300_tty.c:960:7: warning: incorrect type in argument 1
(different address spaces)
drivers/net/wan/pc300_tty.c:960:7: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:960:7: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:961:17: warning: cast removes address space
of expression
drivers/net/wan/pc300_tty.c:961:17: warning: incorrect type in argument
1 (different address spaces)
drivers/net/wan/pc300_tty.c:961:17: expected void volatile [noderef]
*dst<asn:2>
drivers/net/wan/pc300_tty.c:961:17: got void *<noident>

drivers/net/wan/pc300_tty.c:962:5: warning: incorrect type in argument 1
(different address spaces)
drivers/net/wan/pc300_tty.c:962:5: expected void const volatile
[noderef] *addr<asn:2>
drivers/net/wan/pc300_tty.c:962:5: got unsigned long volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:968:5: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:968:5: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:968:5: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:970:5: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:970:5: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:970:5: got unsigned char volatile
[addressable] [usertype] *<noident>

drivers/net/wan/pc300_tty.c:972:4: warning: incorrect type in argument 2
(different address spaces)
drivers/net/wan/pc300_tty.c:972:4: expected void volatile [noderef]
*addr<asn:2>
drivers/net/wan/pc300_tty.c:972:4: got unsigned short volatile
[addressable] [usertype] *<noident>

drivers/video/radeonfb.c:758:23: warning: dereference of noderef
expression

drivers/video/radeonfb.c:758:58: warning: dereference of noderef
expression

drivers/video/radeonfb.c:770:48: warning: dereference of noderef
expression

drivers/video/radeonfb.c:771:58: warning: incorrect type in argument 2
(different address spaces)
drivers/video/radeonfb.c:771:58: expected char const *ct
drivers/video/radeonfb.c:771:58: got char [noderef] *[assigned]
rom<asn:2>

drivers/video/radeonfb.c:784:50: warning: dereference of noderef
expression

drivers/video/radeonfb.c:785:60: warning: incorrect type in argument 2
(different address spaces)
drivers/video/radeonfb.c:785:60: expected char const *ct
drivers/video/radeonfb.c:785:60: got char [noderef] *[assigned]
rom<asn:2>




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans