]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- fix compilation of i2c-ipmi module
authorhawk <hawk@pld-linux.org>
Thu, 28 Apr 2005 14:37:52 +0000 (14:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lm_sensors-ipmi.patch -> 1.1

lm_sensors-ipmi.patch [new file with mode: 0644]

diff --git a/lm_sensors-ipmi.patch b/lm_sensors-ipmi.patch
new file mode 100644 (file)
index 0000000..db7cede
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur lm_sensors-2.8.8.orig/kernel/busses/i2c-ipmb.c lm_sensors-2.8.8.dev/kernel/busses/i2c-ipmb.c
+--- lm_sensors-2.8.8.orig/kernel/busses/i2c-ipmb.c     Mon Mar 17 02:39:57 2003
++++ lm_sensors-2.8.8.dev/kernel/busses/i2c-ipmb.c      Fri Dec  3 09:11:34 2004
+@@ -87,7 +87,7 @@
+ {
+       int err;
+-      if((err = ipmi_request(i2c_ipmb_user, address, id, msg, 0)))
++      if((err = ipmi_request(i2c_ipmb_user, address, id, msg, NULL, 0)))
+               printk(KERN_INFO "i2c-ipmb.o: ipmi_request error %d\n",
+                       err);
+ }
+diff -ur lm_sensors-2.8.8.orig/kernel/busses/i2c-ipmi.c lm_sensors-2.8.8.dev/kernel/busses/i2c-ipmi.c
+--- lm_sensors-2.8.8.orig/kernel/busses/i2c-ipmi.c     Tue Apr 27 03:11:32 2004
++++ lm_sensors-2.8.8.dev/kernel/busses/i2c-ipmi.c      Fri Dec  3 09:11:43 2004
+@@ -82,7 +82,7 @@
+ static void ipmi_i2c_send_message(int id, struct ipmi_msg * msg)
+ {
+-      ipmi_request(i2c_ipmi_user, &address, (long) id, msg, 0);
++      ipmi_request(i2c_ipmi_user, &address, (long) id, msg, NULL, 0);
+ }
+ /* This is the message send function exported to the client
This page took 0.073126 seconds and 4 git commands to generate.