Return-path: Received: from ns1.pc-advies.be ([83.149.101.17]:38926 "EHLO spo001.leaseweb.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751615Ab3JZPqQ (ORCPT ); Sat, 26 Oct 2013 11:46:16 -0400 Date: Sat, 26 Oct 2013 17:46:14 +0200 From: Wim Van Sebroeck To: Jingoo Han Cc: linux-watchdog@vger.kernel.org, 'Guenter Roeck' , Jamie Iles Subject: Re: [PATCH] watchdog: dw_wdt: Add __user annotation Message-ID: <20131026154614.GA17394@spo001.leaseweb.com> References: <003101ce8e79$5e7a6670$1b6f3350$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003101ce8e79$5e7a6670$1b6f3350$@samsung.com> Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org Hi Jingoo, > Added __user annotation to fix the following sparse warnings. > > drivers/watchdog/dw_wdt.c:206:38: warning: incorrect type in argument 1 (different address spaces) > drivers/watchdog/dw_wdt.c:206:38: expected void [noderef] *to > drivers/watchdog/dw_wdt.c:206:38: got struct watchdog_info * > drivers/watchdog/dw_wdt.c:211:24: warning: incorrect type in initializer (different address spaces) > drivers/watchdog/dw_wdt.c:211:24: expected int const [noderef] *register __p > drivers/watchdog/dw_wdt.c:211:24: got int * > > Signed-off-by: Jingoo Han Added to linux-watchdog-next. Kind regards, Wim.