lkml.org 
[lkml]   [2012]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [lm-sensors] NULL dereference BUG in sch56xx_init()
Hi,

On 08/09/2012 04:42 PM, Guenter Roeck wrote:
> On Thu, Aug 09, 2012 at 08:55:26PM +0800, Fengguang Wu wrote:
>> Hi Guenter,
>>
>> This commit triggered an oops which can be fixed by the attached diff.
>> Should it be folded into the original one (preferable for me), or be
>> resent as a standalone patch?
>>
> I folded it into the original commit.
>
> Thanks a lot for the test and feedback!

Fengguang, good catch, thanks!

Guenter, 2 remarks:

1) The changing of the type of the address parameter of sch56xx_device_add is
not necessary
2) A similar change is needed for the f71882fg, there the type of the address
variable in f71882fg_init() needs to be changed to int too.

Regards,

Hans


\
 
 \ /
  Last update: 2012-08-10 11:22    [W:0.491 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site