lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080401003110.d4834b07.sfr@canb.auug.org.au>
Date:	Tue, 1 Apr 2008 00:31:10 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Greg KH <greg@...ah.com>
Cc:	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	netdev@...r.kernel.org, Andy Whitcroft <apw@...dowen.org>,
	Christopher Harrer <charrer@...critech.com>,
	Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>
Subject: Re: [BUILD_FAILURE] linux-next: Tree for March 31 build fails with
 CONFIG_SLICOSS=y

Hi Greg,

On Mon, 31 Mar 2008 18:47:10 +0530 Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com> wrote:
>
> The kernel next-20080331 kernel build fails with Alacritech's IS-NIC gigabit ethernet
> driver on powerpc with allyesconfig (with # CONFIG_NOVFS is not set)
> 
>   CC      drivers/net/slicoss/slicoss.o
> drivers/net/slicoss/slicoss.c: In function ‘slic_xmit_build_request’:
> drivers/net/slicoss/slicoss.c:933: error: ‘Stop’ undeclared (first use in this function)
> drivers/net/slicoss/slicoss.c:933: error: (Each undeclared identifier is reported only once
> drivers/net/slicoss/slicoss.c:933: error: for each function it appears in.)
> drivers/net/slicoss/slicoss.c:933: error: expected ‘;’ before ‘Compilation’
> drivers/net/slicoss/slicoss.c: In function ‘slic_link_event_handler’:
> drivers/net/slicoss/slicoss.c:1420: error: ‘Stop’ undeclared (first use in this function)
> drivers/net/slicoss/slicoss.c:1420: error: expected ‘;’ before ‘compilation’
> drivers/net/slicoss/slicoss.c: In function ‘slic_if_init’:
> drivers/net/slicoss/slicoss.c:1848: error: ‘Stop’ undeclared (first use in this function)
> drivers/net/slicoss/slicoss.c:1848: error: expected ‘;’ before ‘Compilations’
> drivers/net/slicoss/slicoss.c: In function ‘slic_card_init’:
> drivers/net/slicoss/slicoss.c:2518: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_timer_get_stats’:
> drivers/net/slicoss/slicoss.c:3269: error: ‘Stop’ undeclared (first use in this function)
> drivers/net/slicoss/slicoss.c:3269: error: expected ‘;’ before ‘compilation’
> drivers/net/slicoss/slicoss.c: In function ‘slic_link_upr_complete’:
> drivers/net/slicoss/slicoss.c:3683: error: ‘Stop’ undeclared (first use in this function)
> drivers/net/slicoss/slicoss.c:3683: error: expected ‘;’ before ‘Compilation’
> drivers/net/slicoss/slicoss.c: In function ‘slic_eeprom_cksum’:
> drivers/net/slicoss/slicoss.c:3806: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_rspqueue_init’:
> drivers/net/slicoss/slicoss.c:3901: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:3901: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_rspqueue_getnext’:
> drivers/net/slicoss/slicoss.c:3990: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:3990: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4004: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4004: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4009: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4009: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdqmem_addpage’:
> drivers/net/slicoss/slicoss.c:4056: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4056: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdq_init’:
> drivers/net/slicoss/slicoss.c:4081: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4081: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdq_addcmdpage’:
> drivers/net/slicoss/slicoss.c:4184: error: implicit declaration of function ‘virt_to_bus’
> drivers/net/slicoss/slicoss.c:4224: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4224: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4230: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4230: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdq_getdone’:
> drivers/net/slicoss/slicoss.c:4271: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4271: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdq_putdone’:
> drivers/net/slicoss/slicoss.c:4287: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4287: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4289: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4289: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_cmdq_putdone_irq’:
> drivers/net/slicoss/slicoss.c:4301: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4301: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4303: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c:4303: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_rcvqueue_fill’:
> drivers/net/slicoss/slicoss.c:4425: warning: cast from pointer to integer of different size
> drivers/net/slicoss/slicoss.c: In function ‘slic_rcvqueue_reinsert’:
> 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 = (ulong32) ((((ulong64) & ihcmd->u.slic_buffers.bufs[1] -
                                     (ulong64) hcmd) + 31) >> 5);
#elif defined(CONFIG_X86)
        hcmd->cmdsize = ((((ulong32) & ihcmd->u.slic_buffers.bufs[1] -
                           (ulong32) hcmd) + 31) >> 5);
#else
        Stop Compilation;
#endif

-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ