From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f176.google.com ([209.85.213.176]:35879 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756421AbaIEJrr (ORCPT ); Fri, 5 Sep 2014 05:47:47 -0400 Date: Fri, 5 Sep 2014 15:17:27 +0530 From: Sudip Mukherjee To: Dan Carpenter Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Greg Kroah-Hartman , "open list:STAGING - INDUSTR..." , "open list:STAGING SUBSYSTEM" , open list Subject: Re: [PATCH] staging: iio: adc: mxs-lradc.c: sparse warning of incorrect type Message-ID: <20140905094727.GA23333@sudip-PC> References: <1409849142-12185-1-git-send-email-sudipm.mukherjee@gmail.com> <20140905093413.GJ6600@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20140905093413.GJ6600@mwanda> Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Fri, Sep 05, 2014 at 12:34:13PM +0300, Dan Carpenter wrote: > On Thu, Sep 04, 2014 at 10:15:42PM +0530, Sudip Mukherjee wrote: > > fixed sparse warning : incorrect type in argument 1 > > (different address spaces) > > > > The change log is not clear. It's the IS_ERR() which is the problem? > This is a false positive which is fixed in a later version of Sparse. > > regards, > dan carpenter > > yes , problem with sparse. ubuntu repo was not having the latest version , and i did not check what is the latest . sorry for it. thanks sudip