The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: barryn@pobox.com, linux-kernel@vger.kernel.org,
	Adrian Bunk <bunk@stusta.de>, Greg KH <greg@kroah.com>
Subject: Re: [PATCH] sisusb: fix build (Re: 2.6.17-rc5-mm3: sisusbvga build failure)
Date: Sun, 4 Jun 2006 22:11:17 -0700	[thread overview]
Message-ID: <20060604221117.b9dfdcfc.akpm@osdl.org> (raw)
In-Reply-To: <20060604220347.6f963375.rdunlap@xenotime.net>

On Sun, 4 Jun 2006 22:03:47 -0700
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> Fix build errors caused by missing header file.
> 
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> ---
>  drivers/usb/misc/sisusbvga/sisusb.h |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2617-rc5mm3.orig/drivers/usb/misc/sisusbvga/sisusb.h
> +++ linux-2617-rc5mm3/drivers/usb/misc/sisusbvga/sisusb.h
> @@ -65,8 +65,8 @@
>  #ifdef INCL_SISUSB_CON
>  #include <linux/console.h>
>  #include <linux/vt_kern.h>
> -#include "sisusb_struct.h"
>  #endif
> +#include "sisusb_struct.h"

OK, but with that applied it still fails:

In file included from drivers/usb/misc/sisusbvga/sisusb.c:56:
drivers/usb/misc/sisusbvga/sisusb_init.h:837: warning: 'struct vc_data' declared inside parameter list
drivers/usb/misc/sisusbvga/sisusb_init.h:837: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/usb/misc/sisusbvga/sisusb.c:1339: error: static declaration of 'sisusb_setidxreg' follows non-static declaration
drivers/usb/misc/sisusbvga/sisusb_init.h:819: error: previous declaration of 'sisusb_setidxreg' was here
drivers/usb/misc/sisusbvga/sisusb.c:1351: error: static declaration of 'sisusb_getidxreg' follows non-static declaration
drivers/usb/misc/sisusbvga/sisusb_init.h:821: error: previous declaration of 'sisusb_getidxreg' was here
drivers/usb/misc/sisusbvga/sisusb.c:1364: error: static declaration of 'sisusb_setidxregandor' follows non-static declaration
drivers/usb/misc/sisusbvga/sisusb_init.h:823: error: previous declaration of 'sisusb_setidxregandor' was here
drivers/usb/misc/sisusbvga/sisusb.c:1395: error: static declaration of 'sisusb_setidxregor' follows non-static declaration
drivers/usb/misc/sisusbvga/sisusb_init.h:825: error: previous declaration of 'sisusb_setidxregor' was here
drivers/usb/misc/sisusbvga/sisusb.c:1404: error: static declaration of 'sisusb_setidxregand' follows non-static declaration
drivers/usb/misc/sisusbvga/sisusb_init.h:827: error: previous declaration of 'sisusb_setidxregand' was here
make[1]: *** [drivers/usb/misc/sisusbvga/sisusb.o] Error 1

Culprit is gregkh-usb-usb-sisusbvga-possible-cleanups.patch

  reply	other threads:[~2006-06-05  5:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05  4:40 2.6.17-rc5-mm3: sisusbvga build failure Barry K. Nathan
2006-06-05  5:03 ` [PATCH] sisusb: fix build (Re: 2.6.17-rc5-mm3: sisusbvga build failure) Randy.Dunlap
2006-06-05  5:11   ` Andrew Morton [this message]
2006-06-05  5:27     ` Randy.Dunlap
2006-06-05  5:45     ` Randy.Dunlap
2006-06-05 21:00       ` Adrian Bunk
2006-06-05 21:43         ` Randy.Dunlap

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=20060604221117.b9dfdcfc.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=barryn@pobox.com \
    --cc=bunk@stusta.de \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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