[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151213.233729.714763727253422521.davem@davemloft.net>
Date: Sun, 13 Dec 2015 23:37:29 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: andriy.shevchenko@...ux.intel.com
Cc: netdev@...r.kernel.org, huangdaode@...ilicon.com,
linux@...musvillemoes.dk
Subject: Re: [PATCH v1 1/2] net:hns: annotate IO address space properly
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Date: Thu, 10 Dec 2015 17:23:09 +0200
> Mark address pointer with __iomem in the IO accessors.
>
> Otherwise we will get a sparse complain like following
>
> .../hns/hns_dsaf_reg.h:991:36: warning: incorrect type in argument 1 (different address spaces)
> .../hns/hns_dsaf_reg.h:991:36: expected unsigned char [noderef] [usertype] <asn:2>*base
> .../hns/hns_dsaf_reg.h:991:36: got void *base
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists