Re: it87 driver converted to sysfs

From: Greg KH (greg@kroah.com)
Date: Fri Apr 25 2003 - 17:13:04 EST


On Fri, Apr 25, 2003 at 04:53:35PM -0500, Florin Iucha wrote:
> On Thu, Apr 24, 2003 at 10:27:58AM -0700, Greg KH wrote:
> > Thanks, I've applied this and will send it on in a bit.
> >
> > Oops, I've fixed the call to check_region, which should not have been
> > made. Sorry I missed that last time.
>
> I have booted 2.5.68-bk6 and upon modprobe it87 I get this:

Let me know if this patch fixes it or not.

thanks,

greg k-h

--- a/drivers/i2c/chips/it87.c Thu Apr 24 13:35:19 2003
+++ b/drivers/i2c/chips/it87.c Fri Apr 25 15:06:21 2003
@@ -585,6 +585,7 @@
                 err = -ENOMEM;
                 goto ERROR1;
         }
+ memset(new_client, 0x00, sizeof(struct i2c_client)+sizeof(struct it87_data));
 
         data = (struct it87_data *) (new_client + 1);
         if (is_isa)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:22 EST