Hi Greg,
On Mon, 31 Mar 2008 18:47:10 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ib=
m.com> wrote:
quoted text >
> The kernel next-20080331 kernel build fails with Alacritech's IS-NIC giga=
bit ethernet
quoted text > driver on powerpc with allyesconfig (with # CONFIG_NOVFS is not set)
>=20
> CC drivers/net/slicoss/slicoss.o
> drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_xmit_build_reque=
st=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:933: error: =E2=80=98Stop=E2=80=99 undeclar=
ed (first use in this function)
quoted text > drivers/net/slicoss/slicoss.c:933: error: (Each undeclared identifier is =
reported only once
quoted text > drivers/net/slicoss/slicoss.c:933: error: for each function it appears in=
.)
quoted text > drivers/net/slicoss/slicoss.c:933: error: expected =E2=80=98;=E2=80=99 be=
fore =E2=80=98Compilation=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_link_event_handl=
er=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:1420: error: =E2=80=98Stop=E2=80=99 undecla=
red (first use in this function)
quoted text > drivers/net/slicoss/slicoss.c:1420: error: expected =E2=80=98;=E2=80=99 b=
efore =E2=80=98compilation=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_if_init=E2=80=99:
> drivers/net/slicoss/slicoss.c:1848: error: =E2=80=98Stop=E2=80=99 undecla=
red (first use in this function)
quoted text > drivers/net/slicoss/slicoss.c:1848: error: expected =E2=80=98;=E2=80=99 b=
efore =E2=80=98Compilations=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_card_init=E2=80=
=99:
quoted text > drivers/net/slicoss/slicoss.c:2518: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_timer_get_stats=
=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:3269: error: =E2=80=98Stop=E2=80=99 undecla=
red (first use in this function)
quoted text > drivers/net/slicoss/slicoss.c:3269: error: expected =E2=80=98;=E2=80=99 b=
efore =E2=80=98compilation=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_link_upr_complet=
e=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:3683: error: =E2=80=98Stop=E2=80=99 undecla=
red (first use in this function)
quoted text > drivers/net/slicoss/slicoss.c:3683: error: expected =E2=80=98;=E2=80=99 b=
efore =E2=80=98Compilation=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_eeprom_cksum=E2=
=80=99:
quoted text > drivers/net/slicoss/slicoss.c:3806: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_rspqueue_init=E2=
=80=99:
quoted text > drivers/net/slicoss/slicoss.c:3901: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:3901: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_rspqueue_getnext=
=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:3990: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:3990: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4004: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4004: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4009: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4009: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdqmem_addpage=
=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4056: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4056: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdq_init=E2=80=
=99:
quoted text > drivers/net/slicoss/slicoss.c:4081: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4081: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdq_addcmdpage=
=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4184: error: implicit declaration of functi=
on =E2=80=98virt_to_bus=E2=80=99
quoted text > drivers/net/slicoss/slicoss.c:4224: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4224: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4230: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4230: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdq_getdone=E2=
=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4271: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4271: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdq_putdone=E2=
=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4287: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4287: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4289: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4289: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_cmdq_putdone_irq=
=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4301: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4301: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4303: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c:4303: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_rcvqueue_fill=E2=
=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4425: warning: cast from pointer to integer=
of different size
quoted text > drivers/net/slicoss/slicoss.c: In function =E2=80=98slic_rcvqueue_reinser=
t=E2=80=99:
quoted text > drivers/net/slicoss/slicoss.c:4504: warning: cast from pointer to integer=
of different size
Strike two! Again, these drivers need to build (or not try to build) for
all architectures ... Its out until you tell me the above is true.
#if defined(CONFIG_X86_64)
hcmd->cmdsize =3D (ulong32) ((((ulong64) & ihcmd->u.slic_buffers.bu=
fs[1] -
(ulong64) hcmd) + 31) >> 5);
#elif defined(CONFIG_X86)
hcmd->cmdsize =3D ((((ulong32) & ihcmd->u.slic_buffers.bufs[1] -
(ulong32) hcmd) + 31) >> 5);
#else
Stop Compilation;
#endif
--=20
Cheers,
Stephen Rothwell
sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/