From: Christoph Hellwig <hch@lst.de>
To: jgarzik@pobox.com
Cc: netdev@oss.sgi.com
Subject: [PATCH] remove broken bitfield use from via-rhine
Date: Sun, 23 May 2004 01:11:17 +0200 [thread overview]
Message-ID: <20040522231117.GA3416@infradead.org> (raw)
From: Debian kernel package, author probably Herbert Xu
we're using it to assign if_port to it only anyway so it should have the
same type.
* Fixed size of default_port in drivers/net/via-rhine.c
diff -urN kernel-source-2.6.6/drivers/net/via-rhine.c kernel-source-2.6.6-1/drivers/net/via-rhine.c
--- kernel-source-2.6.6/drivers/net/via-rhine.c 2004-05-10 19:47:56.000000000 +1000
+++ kernel-source-2.6.6-1/drivers/net/via-rhine.c 2004-05-10 22:21:34.000000000 +1000
@@ -523,8 +523,8 @@
u16 chip_cmd; /* Current setting for ChipCmd */
/* These values are keep track of the transceiver/media in use. */
- unsigned int default_port:4; /* Last dev->if_port value. */
u8 tx_thresh, rx_thresh;
+ unsigned int default_port; /* Last dev->if_port value. */
/* MII transceiver section. */
unsigned char phys[MAX_MII_CNT]; /* MII device addresses. */
next reply other threads:[~2004-05-22 23:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-22 23:11 Christoph Hellwig [this message]
2004-05-27 19:13 ` [PATCH] remove broken bitfield use from via-rhine Jeff Garzik
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=20040522231117.GA3416@infradead.org \
--to=hch@lst.de \
--cc=jgarzik@pobox.com \
--cc=netdev@oss.sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).