]> git.baikalelectronics.ru Git - kernel.git/commit
smsc911x: fix calculation of res_size for ioremap
authorMatthias Ludwig <mludwig@ultratronik.de>
Thu, 7 May 2009 22:00:12 +0000 (15:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2009 22:00:12 +0000 (15:00 -0700)
commit03bbadcf2a1a200fab680d3e82c3cf18dadd0e4f
treef564369bd51cdf8cb2e29aa6a4610d73cb052e92
parent2724fb43d051d8e7feeb3e0f96d533f8179b6dd9
smsc911x: fix calculation of res_size for ioremap

fix size of remaped iomem, which is 1 byte to small
(e.g. mappes only 0xff bytes instead of 0x100)

Signed-off-by: Matthias Ludwig <mludwig@ultratronik.de>
Acked-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c