All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>, hjchoi <hjchoi@sysbas.com>
Subject: Re: [PATCH] staging: Add SystemBase Multi-2/PCI driver
Date: Fri, 16 Nov 2012 05:32:55 -0800	[thread overview]
Message-ID: <20121116133255.GA30683@kroah.com> (raw)
In-Reply-To: <1353071875.7586.5.camel@gandalf.local.home>

On Fri, Nov 16, 2012 at 08:17:55AM -0500, Steven Rostedt wrote:
> On Thu, 2012-11-15 at 21:08 -0800, Greg Kroah-Hartman wrote:
> > On Thu, Nov 15, 2012 at 11:39:31PM -0500, Steven Rostedt wrote:
> > > I ported the driver supplied by SystemBase to mainline.
> > > 
> > > As the driver had MODULE_LICENSE("GPL") it is declared as a GPL module
> > > and thus I have the right to distribute it upstream. Note, I did the
> > > bare minimum to get it working. It still needs a lot of loving.
> > 
> > Being in staging only requires 2 things, proper license, and it has to
> > build.
> > 
> > This fails on the second one:
> > 
> > In file included from drivers/staging/sb105x/sb_pci_mp.c:1:0:
> > drivers/staging/sb105x/sb_pci_mp.h:279:40: error: array type has incomplete element type
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_startup’:
> > drivers/staging/sb105x/sb_pci_mp.c:546:26: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_shutdown’:
> > drivers/staging/sb105x/sb_pci_mp.c:573:40: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_change_speed’:
> > drivers/staging/sb105x/sb_pci_mp.c:596:14: error: wrong type argument to unary exclamation mark
> > drivers/staging/sb105x/sb_pci_mp.c:599:10: error: incompatible types when assigning to type ‘struct ktermios *’ from type ‘struct ktermios’
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_throttle’:
> > drivers/staging/sb105x/sb_pci_mp.c:734:18: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_unthrottle’:
> > drivers/staging/sb105x/sb_pci_mp.c:750:18: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_set_termios’:
> > drivers/staging/sb105x/sb_pci_mp.c:1277:35: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c:1282:4: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_update_termios’:
> > drivers/staging/sb105x/sb_pci_mp.c:1450:19: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘mp_block_til_ready’:
> > drivers/staging/sb105x/sb_pci_mp.c:1476:24: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c:1481:25: error: invalid type argument of ‘->’ (have ‘struct ktermios’)
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘multi_type’:
> > drivers/staging/sb105x/sb_pci_mp.c:2763:14: error: bit-field ‘<anonymous>’ width not an integer constant
> > In file included from drivers/staging/sb105x/sb_pci_mp.c:1:0:
> > drivers/staging/sb105x/sb_pci_mp.c: At top level:
> > drivers/staging/sb105x/sb_pci_mp.h:279:40: warning: ‘uart_config’ defined but not used [-Wunused-variable]
> > drivers/staging/sb105x/sb_pci_mp.c: In function ‘multi_type’:
> > drivers/staging/sb105x/sb_pci_mp.c:2766:1: warning: control reaches end of non-void function [-Wreturn-type]
> > make[3]: *** [drivers/staging/sb105x/sb_pci_mp.o] Error 1
> > make[2]: *** [drivers/staging/sb105x] Error 2
> > make[1]: *** [drivers/staging] Error 2
> 
> Ah interesting, probably a missing dependency. Do you have a config I
> can test against. It worked for me against 3.6.6 (the kernel that runs
> the box with the card).

That's the issue, the tty layer has changed a bunch since 3.6, this was
against 3.7-rc5.  That is what has caused the build breakage here.

Redo this aginast 3.7-rc5 and we should be better off.  If you really
want to do this right, do this against the tty-next git tree, to catch
all of the recent tty changes that will be going into 3.8.

thanks,

greg k-h

  reply	other threads:[~2012-11-16 13:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16  4:39 [PATCH] staging: Add SystemBase Multi-2/PCI driver Steven Rostedt
2012-11-16  5:08 ` Greg Kroah-Hartman
2012-11-16 13:17   ` Steven Rostedt
2012-11-16 13:32     ` Greg Kroah-Hartman [this message]
2012-11-16 14:28       ` Steven Rostedt
2012-11-16 14:58         ` Greg Kroah-Hartman
2012-11-16 15:07           ` Steven Rostedt

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=20121116133255.GA30683@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=hjchoi@sysbas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.