OSDN Git Service

misc: sram: partition base address belongs to __iomem space
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Sun, 18 Oct 2015 17:57:09 +0000 (20:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Oct 2015 02:00:36 +0000 (19:00 -0700)
commit525d12f27bb05c4255857849a8d28c0c086bd28e
treecaa130f6ce3f3b56aeec0da5df0cc0d2f09ba81b
parentd0eaa0c2fe9c1667a7ba8405c455d9627eac9540
misc: sram: partition base address belongs to __iomem space

The change fixes a warning found by sparse:

  drivers/misc/sram.c:134:20: warning: incorrect type in assignment (different address spaces)
  drivers/misc/sram.c:134:20:    expected void *base
  drivers/misc/sram.c:134:20:    got void [noderef] <asn:2>*

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/sram.c