[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141209.144530.1288294855056564069.davem@davemloft.net>
Date: Tue, 09 Dec 2014 14:45:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: andrey.volkov@...vision.fr
Cc: f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2 1/1] net: dsa: replacing the hard-coded sized array
"dsa_switch" by dynamic one
From: Andrey Volkov <andrey.volkov@...vision.fr>
Date: Thu, 04 Dec 2014 16:54:32 +0100
> @@ -732,7 +730,8 @@ static int dsa_probe(struct platform_device *pdev)
> goto out;
> }
>
> - dst = kzalloc(sizeof(*dst), GFP_KERNEL);
> + dst = kzalloc(sizeof(*dst) +
> + sizeof(struct dsa_switch *) * pd->nr_chips, GFP_KERNEL);
Your email client has completely corrupted your patch. For one thing it
has transformed TAB characters into spaces.
Please read Documentation/email-clients.txt, email the patch to yourself,
and then try to successfully apply the patch you receive in that email.
If it doesn't work for you, it won't work for us either.
Do not resubmit this patch until your have fully resolved this, thanks.
--
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