[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091015034858.GB10799@serverengines.com>
Date: Thu, 15 Oct 2009 09:19:01 +0530
From: Ajit Khaparde <ajitkhaparde@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [net-next-2.6 PATCH 1/2] be2net: Add support for next
generation of BladeEngine device
On 14/10/09 16:33 -0700, David Miller wrote:
> From: David Miller <davem@...emloft.net>
> Date: Wed, 14 Oct 2009 15:24:02 -0700 (PDT)
>
> > From: Ajit Khaparde <ajitk@...verengines.com>
> > Date: Wed, 14 Oct 2009 17:54:09 +0530
> >
> >> Add new PCI ids to support next generation of BladeEnigne device.
> >>
> >> Signed-off-by: Ajit Khaparde <ajitk@...verengines.com>
> >
> > Applied.
>
> I have to revert your changes, how did this even build for you?
>
> In file included from drivers/net/benet/be_cmds.c:18:
> drivers/net/benet/be.h:45:1: warning: "BE_DEVICE_ID1" redefined
> drivers/net/benet/be.h:44:1: warning: this is the location of the previous definition
> drivers/net/benet/be.h:48:1: warning: "OC_DEVICE_ID2" redefined
> drivers/net/benet/be.h:47:1: warning: this is the location of the previous definition
>
> Well, obviously, since in your patch:
>
> #define BE_VENDOR_ID 0x19a2
> #define BE_DEVICE_ID1 0x211
> +#define BE_DEVICE_ID1 0x221
> #define OC_DEVICE_ID1 0x700
> #define OC_DEVICE_ID2 0x701
> +#define OC_DEVICE_ID2 0x710
>
> drivers/net/benet/be.h:56: error: 'OC_DEVICE_ID3' undeclared (first use in this function)
> drivers/net/benet/be.h:58: error: 'BE_DEVICE_ID2' undeclared (first use in this function)
>
> The mistake is obvious, and you provably didn't even compile check
> these changes.
>
> How can I possibly take your patches seriously when it is clear how
> incredibly careless you are being here?
Sorry Dave. My bad. Now I realize what happened.
After I compiled and tried my changes, the setup got rebooted and I picked
the files from a wrong sandbox. And these wrong files got committed to git.
I will be careful next time.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists