mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Fix bogus memset (similar to a recent fix to the eeprom driver).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2410 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -33,8 +33,8 @@ ask CVS about it:
|
||||
Modules ds1621, pcf8591: Check for capabilities before using them
|
||||
(Aurelien Jarno)
|
||||
Modules pcf8574, pcf8591: Cleanups
|
||||
Modules ddcmon, eeprom: Fix bogus init (Ralf Roesch)
|
||||
Module adm1021: Better detection and initialization
|
||||
Module eeprom: Fix bogus init (Ralf Roesch)
|
||||
Module pca9540: New driver for the Philips PCA9540
|
||||
Module pc87360-fan: New driver for the National Semiconductor PC87360,
|
||||
PC87363 and PC87364 Super I/O chips
|
||||
|
@@ -223,7 +223,7 @@ int ddcmon_detect(struct i2c_adapter *adapter, int address,
|
||||
}
|
||||
|
||||
data = (struct ddcmon_data *) (new_client + 1);
|
||||
memset(data, 0xff, DDCMON_SIZE);
|
||||
memset(data->data, 0xff, DDCMON_SIZE);
|
||||
new_client->addr = address;
|
||||
new_client->data = data;
|
||||
new_client->adapter = adapter;
|
||||
|
Reference in New Issue
Block a user