From: Mikael Pettersson <mikpe@user.it.uu.se>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][2.6.11] drivers/char/isicom.c gcc4 fix
Date: Tue, 15 Mar 2005 14:56:16 +0100 [thread overview]
Message-ID: <16950.59776.558798.85852@alkaid.it.uu.se> (raw)
Fix two array-of-incomplete-type errors from gcc4 in isicom.c.
/Mikael
--- linux-2.6.11/drivers/char/isicom.c.~1~ 2005-03-02 19:24:15.000000000 +0100
+++ linux-2.6.11/drivers/char/isicom.c 2005-03-15 11:37:03.000000000 +0100
@@ -151,9 +151,6 @@ MODULE_DEVICE_TABLE(pci, isicom_pci_tbl)
static int prev_card = 3; /* start servicing isi_card[0] */
static struct tty_driver *isicom_normal;
-static struct isi_board isi_card[BOARD_COUNT];
-static struct isi_port isi_ports[PORT_COUNT];
-
static struct timer_list tx;
static char re_schedule = 1;
#ifdef ISICOM_DEBUG
@@ -210,6 +207,9 @@ struct isi_port {
int xmit_cnt;
};
+static struct isi_board isi_card[BOARD_COUNT];
+static struct isi_port isi_ports[PORT_COUNT];
+
/*
* Locking functions for card level locking. We need to own both
* the kernel lock for the card and have the card in a position that
reply other threads:[~2005-03-15 13:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=16950.59776.558798.85852@alkaid.it.uu.se \
--to=mikpe@user.it.uu.se \
--cc=linux-kernel@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®