Changeset 23983


Ignore:
Timestamp:
2010-11-12T19:52:45+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()

Signed-off-by: Arnaud Lacombe <lacombar@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c

    r23978 r23983  
    157157                ret = copy_to_user((struct watchdog_info *)arg, 
    158158                                   &ar71xx_wdt_info, 
    159                                    sizeof(&ar71xx_wdt_info)) ? -EFAULT : 0; 
     159                                   sizeof(ar71xx_wdt_info)) ? -EFAULT : 0; 
    160160                break; 
    161161 
Note: See TracChangeset for help on using the changeset viewer.