[meego-commits] 24460: Changes to devel:cdv:Testing/kernel-adaptation-pc
Yu WANG
no_reply at build.meego.com
Tue Nov 1 02:26:25 UTC 2011
Hi,
I have made the following changes to kernel-adaptation-pc in project devel:cdv:Testing. Please review and accept ASAP.
Thank You,
Yu WANG
[This message was auto-generated]
---
Request #24460:
submit: home:arron:branches:devel:cdv:Testing/kernel-adaptation-pc(r2)(cleanup) -> devel:cdv:Testing/kernel-adaptation-pc
Message:
Add linux-3.0-caif-namespace.patch fix BMC#23540 kernel crash when loading google-chrome
State: new 2011-10-31T19:12:26 arron
Comment: None
changes files:
--------------
--- kernel-adaptation-pc.changes
+++ kernel-adaptation-pc.changes
@@ -0,0 +1,3 @@
+* Tue Nov 1 2011 - Arron <arron.wang at intel.com> - 3.0.0
+- Add linux-3.0-caif-namespace.patch fix BMC#23540 kernel crash when loading google-chrome
+
new:
----
linux-3.0-caif-namespace.patch
spec files:
-----------
--- kernel-adaptation-pc.spec
+++ kernel-adaptation-pc.spec
@@ -211,6 +211,7 @@
Patch201: linux-3.0.0-cdv.patch
Patch202: linux-3.0.0-cdv-hdmi-codec-id.patch
Patch203: fix-config-xen.patch
+Patch204: linux-3.0-caif-namespace.patch
BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
@@ -369,6 +370,8 @@
%patch202 -p1
# fix-config-xen.patch
%patch203 -p1
+# linux-3.0-caif-namespace.patch
+%patch204 -p1
# Drop some necessary files from the source dir into the buildroot
cp $RPM_SOURCE_DIR/config-* .
other changes:
--------------
++++++ linux-3.0-caif-namespace.patch (new)
--- linux-3.0-caif-namespace.patch
+++ linux-3.0-caif-namespace.patch
+--- a/net/caif/caif_dev.c 2011-07-21 22:17:23.000000000 -0400
++++ b/net/caif/caif_dev.c 2011-10-26 03:34:15.754746075 -0400
+@@ -209,8 +209,7 @@
+ enum cfcnfg_phy_preference pref;
+ enum cfcnfg_phy_type phy_type;
+ struct cfcnfg *cfg;
+- struct caif_device_entry_list *caifdevs =
+- caif_device_list(dev_net(dev));
++ struct caif_device_entry_list *caifdevs;
+
+ if (dev->type != ARPHRD_CAIF)
+ return 0;
+@@ -219,6 +218,8 @@
+ if (cfg == NULL)
+ return 0;
+
++ caifdevs = caif_device_list(dev_net(dev));
++
+ switch (what) {
+ case NETDEV_REGISTER:
+ caifd = caif_device_alloc(dev);
More information about the MeeGo-commits
mailing list