All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c-sis630 fixes for 2.6.0-test7
@ 2005-05-19  6:24 Alexander Malysh
  2005-05-19  6:24 ` Alexander Malysh
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexander Malysh @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hi Greg,

attached you can find a patch that should fix i2c-sis630 driver for 2.6.0-X 
kernel. With i2c-sis630 from stock 2.6.0-X we have oops and driver was not 
correct registered against i2c-core.

Changes:
	1) fixed a oops while modprobing
	2) added check for buffer overflow for i2c block data read transaction
	3) added 'force' modprobe parameter. It's allow more easily testing for not 
yet supported SiS chips.

Please apply... Thanks.

-- 
Best regards,
Dipl.-Ing.
Alexander Malysh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-sis630.diff
Type: text/x-diff
Size: 5640 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031010/3ae9d41c/i2c-sis630.bin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] i2c-sis630 fixes for 2.6.0-test7
  2005-05-19  6:24 [PATCH] i2c-sis630 fixes for 2.6.0-test7 Alexander Malysh
  2005-05-19  6:24 ` Alexander Malysh
@ 2005-05-19  6:24 ` Greg KH
  2005-05-19  6:24 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

On Fri, Oct 10, 2003 at 07:04:18PM +0200, Alexander Malysh wrote:
> Hi Greg,
> 
> attached you can find a patch that should fix i2c-sis630 driver for 2.6.0-X 
> kernel. With i2c-sis630 from stock 2.6.0-X we have oops and driver was not 
> correct registered against i2c-core.
> 
> Changes:
> 	1) fixed a oops while modprobing
> 	2) added check for buffer overflow for i2c block data read transaction
> 	3) added 'force' modprobe parameter. It's allow more easily testing for not 
> yet supported SiS chips.
> 
> Please apply... Thanks.

Why did you add a printk() call right before a call to dev_err()?  Can
you remove that change and resubmit the patch?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] i2c-sis630 fixes for 2.6.0-test7
  2005-05-19  6:24 [PATCH] i2c-sis630 fixes for 2.6.0-test7 Alexander Malysh
@ 2005-05-19  6:24 ` Alexander Malysh
  2005-05-19  6:24 ` Greg KH
  2005-05-19  6:24 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander Malysh @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

On Friday 10 October 2003 19:15, Greg KH wrote:
> On Fri, Oct 10, 2003 at 07:04:18PM +0200, Alexander Malysh wrote:
> > Hi Greg,
> >
> > attached you can find a patch that should fix i2c-sis630 driver for
> > 2.6.0-X kernel. With i2c-sis630 from stock 2.6.0-X we have oops and
> > driver was not correct registered against i2c-core.
> >
> > Changes:
> > 	1) fixed a oops while modprobing
> > 	2) added check for buffer overflow for i2c block data read transaction
> > 	3) added 'force' modprobe parameter. It's allow more easily testing for
> > not yet supported SiS chips.
> >
> > Please apply... Thanks.
>
> Why did you add a printk() call right before a call to dev_err()?  Can
> you remove that change and resubmit the patch?

oops, sorry. It was for debugging...
corrected patch attached.

>
> thanks,
>
> greg k-h

-- 
Best regards,
Dipl.-Ing.
Alexander Malysh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-sis630.diff
Type: text/x-diff
Size: 5604 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031010/7acdd40a/i2c-sis630.bin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] i2c-sis630 fixes for 2.6.0-test7
  2005-05-19  6:24 [PATCH] i2c-sis630 fixes for 2.6.0-test7 Alexander Malysh
  2005-05-19  6:24 ` Alexander Malysh
  2005-05-19  6:24 ` Greg KH
@ 2005-05-19  6:24 ` Greg KH
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

On Fri, Oct 10, 2003 at 07:23:21PM +0200, Alexander Malysh wrote:
> On Friday 10 October 2003 19:15, Greg KH wrote:
> > On Fri, Oct 10, 2003 at 07:04:18PM +0200, Alexander Malysh wrote:
> > > Hi Greg,
> > >
> > > attached you can find a patch that should fix i2c-sis630 driver for
> > > 2.6.0-X kernel. With i2c-sis630 from stock 2.6.0-X we have oops and
> > > driver was not correct registered against i2c-core.
> > >
> > > Changes:
> > > 	1) fixed a oops while modprobing
> > > 	2) added check for buffer overflow for i2c block data read transaction
> > > 	3) added 'force' modprobe parameter. It's allow more easily testing for
> > > not yet supported SiS chips.
> > >
> > > Please apply... Thanks.
> >
> > Why did you add a printk() call right before a call to dev_err()?  Can
> > you remove that change and resubmit the patch?
> 
> oops, sorry. It was for debugging...
> corrected patch attached.

Thanks, I've applied this and will send it on up the food chain.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 [PATCH] i2c-sis630 fixes for 2.6.0-test7 Alexander Malysh
2005-05-19  6:24 ` Alexander Malysh
2005-05-19  6:24 ` Greg KH
2005-05-19  6:24 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.