aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavem <davem>2001-12-11 23:46:19 +0000
committerdavem <davem>2001-12-11 23:46:19 +0000
commitb0ce6ab92127d847dd98cb566bd002cc23701794 (patch)
treea660a09b43879c90ed8bb54228ddef96f3783fa4
parent82185631865228d069434f17de5af1a14da48a36 (diff)
downloadnetdev-vger-cvs-b0ce6ab92127d847dd98cb566bd002cc23701794.tar.gz
Fix to use proper size_t printf
format string. Kill unused local car in old-tulip driver. Forward port parport 2.4.17-preX merge error fix.
-rw-r--r--drivers/net/de2104x.c1
-rw-r--r--drivers/parport/parport_cs.c2
-rw-r--r--fs/bio.c2
3 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/de2104x.c b/drivers/net/de2104x.c
index 1bd4908f5..6802cfe99 100644
--- a/drivers/net/de2104x.c
+++ b/drivers/net/de2104x.c
@@ -2043,7 +2043,6 @@ err_out_free:
static void __exit de_remove_one (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
- struct de_private *de = dev->priv;
if (!dev)
BUG();
diff --git a/drivers/parport/parport_cs.c b/drivers/parport/parport_cs.c
index 358a8de99..783a1bd26 100644
--- a/drivers/parport/parport_cs.c
+++ b/drivers/parport/parport_cs.c
@@ -104,8 +104,6 @@ static int parport_event(event_t event, int priority,
static dev_info_t dev_info = "parport_cs";
static dev_link_t *dev_list = NULL;
-extern struct parport_operations parport_pc_ops;
-
/*====================================================================*/
static void cs_error(client_handle_t handle, int func, int ret)
diff --git a/fs/bio.c b/fs/bio.c
index d04cbca7a..82136b2f4 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -496,7 +496,7 @@ static int __init init_bio(void)
if (!bio_pool)
panic("bio: can't create mempool\n");
- printk("BIO: pool of %d setup, %uKb (%d bytes/bio)\n", BIO_POOL_SIZE, BIO_POOL_SIZE * sizeof(struct bio) >> 10, sizeof(struct bio));
+ printk("BIO: pool of %d setup, %ZuKb (%Zd bytes/bio)\n", BIO_POOL_SIZE, BIO_POOL_SIZE * sizeof(struct bio) >> 10, sizeof(struct bio));
biovec_init_pool();