Re: [PATCH 1/2] watchdong: kempld_wdt: Add __user annotation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 01, 2013 at 02:39:46PM +0900, Jingoo Han wrote:
> Added __user annotation to fix the following sparse warnings.
> Also, it makes 'kempld_prescaler' static because it is used
> only in this file.
> 
> drivers/watchdog/kempld_wdt.c:70:11: warning: symbol 'kempld_prescaler' was not declared. Should it be static?
> drivers/watchdog/kempld_wdt.c:364:23: warning: incorrect type in initializer (different address spaces)
> drivers/watchdog/kempld_wdt.c:364:23:    expected int const [noderef] <asn:1>*register __p
> drivers/watchdog/kempld_wdt.c:364:23:    got int *<noident>
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux