Changeset 3704

Show
Ignore:
Timestamp:
09/15/02 18:41:41 (6 years ago)
Author:
mds
Message:

correction from

Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • i2c/trunk/doc/writing-clients

    r3594 r3704  
    449449       need it, remove it. We do it here to help to lessen memory 
    450450       fragmentation. */ 
    451     if (! (new_client = kmalloc(sizeof(struct i2c_client)) +  
     451    if (! (new_client = kmalloc(sizeof(struct i2c_client) +  
    452452                                sizeof(struct foo_data), 
    453                                 GFP_KERNEL))
     453                                GFP_KERNEL)))
    454454      err = -ENOMEM; 
    455455      goto ERROR0;