Changeset 2410

Show
Ignore:
Timestamp:
04/04/04 09:16:30 (9 years ago)
Author:
khali
Message:

Fix bogus memset (similar to a recent fix to the eeprom driver).

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r2408 r2410  
    3434                           (Aurelien Jarno) 
    3535  Modules pcf8574, pcf8591: Cleanups 
     36  Modules ddcmon, eeprom: Fix bogus init (Ralf Roesch) 
    3637  Module adm1021: Better detection and initialization 
    37   Module eeprom: Fix bogus init (Ralf Roesch) 
    3838  Module pca9540: New driver for the Philips PCA9540 
    3939  Module pc87360-fan: New driver for the National Semiconductor PC87360, 
  • lm-sensors/trunk/kernel/chips/ddcmon.c

    r2094 r2410  
    224224 
    225225        data = (struct ddcmon_data *) (new_client + 1); 
    226         memset(data, 0xff, DDCMON_SIZE); 
     226        memset(data->data, 0xff, DDCMON_SIZE); 
    227227        new_client->addr = address; 
    228228        new_client->data = data;