Re: wdt285: fix sparse warnings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wim Van Sebroeck
Date: Monday, September 15, 2008 - 1:05 am

Ben,

...
...

Isn't it better to fix this like we did with the other watchdog drivers:
        void __user *argp = (void __user *)arg;
        int __user *p = argp;
	...
		if (copy_to_user(argp, &ident, sizeof(ident)))
	...

Regards,
Wim.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
wdt285: fix sparse warnings, Ben Dooks, (Sun Sep 14, 2:34 pm)
Re: wdt285: fix sparse warnings, Wim Van Sebroeck, (Mon Sep 15, 1:05 am)
Re: wdt285: fix sparse warnings, Ben Dooks, (Tue Sep 16, 3:31 am)