mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Greg KH <greg@kroah.com>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	netdev@vger.kernel.org, Andy Whitcroft <apw@shadowen.org>,
	Christopher Harrer <charrer@alacritech.com>,
	Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Subject: Re: [BUILD_FAILURE] linux-next: Tree for March 31 build fails with CONFIG_SLICOSS=y
Date: Tue, 1 Apr 2008 00:31:10 +1100	[thread overview]
Message-ID: <20080401003110.d4834b07.sfr@canb.auug.org.au> (raw)
In-Reply-To: <47F0E456.5080201@linux.vnet.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 6226 bytes --]

Hi Greg,

On Mon, 31 Mar 2008 18:47:10 +0530 Kamalesh Babulal <kamalesh@linux.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@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-03-31 13:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31  7:11 linux-next: Tree for March 31 Stephen Rothwell
2008-03-31 11:19 ` [BUILD_FAILURE] linux-next: Tree for March 31 build fails on fs/novfs sys_flistxattr() Kamalesh Babulal
2008-03-31 11:41   ` Stephen Rothwell
2008-03-31 15:54     ` Greg KH
2008-03-31 16:50     ` Greg KH
2008-03-31 13:17 ` [BUILD_FAILURE] linux-next: Tree for March 31 build fails with CONFIG_SLICOSS=y Kamalesh Babulal
2008-03-31 13:31   ` Stephen Rothwell [this message]
2008-03-31 15:55     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401003110.d4834b07.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=apw@shadowen.org \
    --cc=charrer@alacritech.com \
    --cc=greg@kroah.com \
    --cc=kamalesh@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®