From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarod Wilson Date: Wed, 17 Nov 2010 20:22:00 +0000 Subject: Re: [patch 2/3] [media] lirc_dev: add some __user annotations Message-Id: <20101117202200.GC24814@redhat.com> List-Id: References: <20101117051339.GE31724@bicker> In-Reply-To: <20101117051339.GE31724@bicker> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Mauro Carvalho Chehab , Zimny Lech , linux-media@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, Nov 17, 2010 at 08:13:39AM +0300, Dan Carpenter wrote: > Sparse complains because there are no __user annotations. > > drivers/media/IR/lirc_dev.c:156:27: warning: > incorrect type in initializer (incompatible argument 2 (different address spaces)) > drivers/media/IR/lirc_dev.c:156:27: expected int ( *read )( ... ) > drivers/media/IR/lirc_dev.c:156:27: got int ( extern [toplevel] * )( ... ) > > Signed-off-by: Dan Carpenter Acked-by: Jarod Wilson -- Jarod Wilson jarod@redhat.com