summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
committerDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
commit88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch)
treee1ad8651aa7663850f6dc1108b278f56a2b92a91 /recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch
parenta1e2573369c6714956af561523ba274aa9c185f7 (diff)
downloadmeta-ti-88867c1d96684925027a0ecc9e25c6ea70040cc6.tar.gz
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring extra non-standard dependencies besides oe-core. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch')
-rw-r--r--recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch b/recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch
deleted file mode 100644
index 951a2813..00000000
--- a/recipes-kernel/linux/linux-omap/linus/0016-skfp-testing-the-wrong-variable-in-skfp_driver_init.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 276d3ef4021021959540cdb7a5041c477432d29e Mon Sep 17 00:00:00 2001
2From: Dan Carpenter <error27@gmail.com>
3Date: Thu, 23 Dec 2010 19:17:34 +0000
4Subject: [PATCH 16/65] skfp: testing the wrong variable in skfp_driver_init()
5
6The intent here was to test if the allocation failed but we tested
7"SharedMemSize" instead of "SharedMemAddr" by mistake.
8
9Signed-off-by: Dan Carpenter <error27@gmail.com>
10Reviewed-by: Jiri Pirko <jpirko@redhat.com>
11Signed-off-by: David S. Miller <davem@davemloft.net>
12---
13 drivers/net/skfp/skfddi.c | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c
17index 0a66fed..16c6265 100644
18--- a/drivers/net/skfp/skfddi.c
19+++ b/drivers/net/skfp/skfddi.c
20@@ -412,7 +412,7 @@ static int skfp_driver_init(struct net_device *dev)
21 bp->SharedMemAddr = pci_alloc_consistent(&bp->pdev,
22 bp->SharedMemSize,
23 &bp->SharedMemDMA);
24- if (!bp->SharedMemSize) {
25+ if (!bp->SharedMemAddr) {
26 printk("could not allocate mem for ");
27 printk("hardware module: %ld byte\n",
28 bp->SharedMemSize);
29--
301.6.6.1
31