From: David Miller <davem@davemloft.net>
To: vkolluri@cisco.com
Cc: netdev@vger.kernel.org, scofeldm@cisco.com, roprabhu@cisco.com
Subject: Re: [net-next-2.6 PATCH 10/10] enic: Clean ups
Date: Fri, 25 Jun 2010 20:49:32 -0700 (PDT) [thread overview]
Message-ID: <20100625.204932.241449443.davem@davemloft.net> (raw)
In-Reply-To: <20100624205213.22595.97942.stgit@savbu-pc100.cisco.com>
From: Vasanthy Kolluri <vkolluri@cisco.com>
Date: Thu, 24 Jun 2010 13:52:26 -0700
> diff --git a/drivers/net/enic/vnic_wq.c b/drivers/net/enic/vnic_wq.c
> index 3ab7fa5..5c84bb8 100644
> --- a/drivers/net/enic/vnic_wq.c
> +++ b/drivers/net/enic/vnic_wq.c
> @@ -1,5 +1,5 @@
> /*
> - * Copyright 2008 Cisco Systems, Inc. All rights reserved.
> + * Copyright 2008-2010 Cisco Systems, Inc. All rights reserved.
> * Copyright 2007 Nuova Systems, Inc. All rights reserved.
> *
> * This program is free software; you may redistribute it and/or modify
> @@ -22,7 +22,6 @@
> #include <linux/types.h>
> #include <linux/pci.h>
> #include <linux/delay.h>
> -#include <linux/slab.h>
>
> #include "vnic_dev.h"
> #include "vnic_wq.h"
I have to remove this otherwise the build breaks:
drivers/net/enic/vnic_wq.c: In function 'vnic_wq_alloc_bufs':
drivers/net/enic/vnic_wq.c:39:3: error: implicit declaration of function 'kzalloc'
drivers/net/enic/vnic_wq.c:39:15: warning: assignment makes pointer from integer without a cast
drivers/net/enic/vnic_wq.c: In function 'vnic_wq_free':
drivers/net/enic/vnic_wq.c:79:3: error: implicit declaration of function 'kfree'
CC [M] drivers/net/sfc/mcdi_mac.o
make[3]: *** [drivers/net/enic/vnic_wq.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC [M] drivers/net/sfc/selftest.o
CC [M] drivers/net/sfc/ethtool.o
CC [M] drivers/net/sfc/qt202x_phy.o
drivers/net/enic/vnic_rq.c: In function 'vnic_rq_alloc_bufs':
drivers/net/enic/vnic_rq.c:39:3: error: implicit declaration of function 'kzalloc'
drivers/net/enic/vnic_rq.c:39:15: warning: assignment makes pointer from integer without a cast
drivers/net/enic/vnic_rq.c: In function 'vnic_rq_free':
drivers/net/enic/vnic_rq.c:79:3: error: implicit declaration of function 'kfree'
Any time you remove any header includes, it is very wise to attempt a wide
assortment of build tests using all sorts of different configurations.
next prev parent reply other threads:[~2010-06-26 3:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 20:49 [net-next-2.6 PATCH 0/10] enic: updates to version 1.4.1.1 Vasanthy Kolluri
2010-06-24 20:49 ` [net-next-2.6 PATCH 01/10] enic: Feature Add: Replace LRO with GRO Vasanthy Kolluri
2010-06-24 20:49 ` [net-next-2.6 PATCH 02/10] enic: Bug Fix: Change hardware ingress vlan rewrite mode Vasanthy Kolluri
2010-06-24 20:50 ` [net-next-2.6 PATCH 03/10] enic: Use a lighter reset operation for enic devices Vasanthy Kolluri
2010-06-24 20:50 ` [net-next-2.6 PATCH 04/10] enic: Clean up: Add wrapper routines for firmware devcmd calls Vasanthy Kolluri
2010-06-24 20:50 ` [net-next-2.6 PATCH 05/10] enic: Use (netdev|dev|pr)_<level> macro helpers for logging Vasanthy Kolluri
2010-06-24 20:51 ` [net-next-2.6 PATCH 06/10] enic: Add new firmware devcmds Vasanthy Kolluri
2010-06-24 20:51 ` [net-next-2.6 PATCH 07/10] enic: Use receive queue buffer blocks of 32/64 entries Vasanthy Kolluri
2010-06-24 20:51 ` [net-next-2.6 PATCH 08/10] enic: Feature Add: Add loopback capability to enic devices Vasanthy Kolluri
2010-06-24 20:52 ` [net-next-2.6 PATCH 09/10] enic: Bug Fix: Handle surprise hardware removals Vasanthy Kolluri
2010-06-24 20:52 ` [net-next-2.6 PATCH 10/10] enic: Clean ups Vasanthy Kolluri
2010-06-26 3:49 ` David Miller [this message]
2010-06-26 4:06 ` [net-next-2.6 PATCH 0/10] enic: updates to version 1.4.1.1 David Miller
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=20100625.204932.241449443.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=roprabhu@cisco.com \
--cc=scofeldm@cisco.com \
--cc=vkolluri@cisco.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).