pcmcia: fix ioport size calculation in rsrc_nonstatic
authorDominik Brodowski <linux@dominikbrodowski.net>
Thu, 15 Apr 2010 17:01:53 +0000 (19:01 +0200)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 15 Apr 2010 17:01:53 +0000 (19:01 +0200)
commit41b97ab5050088cd23692d578e7294c7be26109a
tree4d98ef5ca872bb275b749ac2306daf72f15bdcb7
parentb1095afe6fd6ea4c0d9e75489b955f898d6617d9
pcmcia: fix ioport size calculation in rsrc_nonstatic

Size needs to be calculated after manipulating with the start value.

Reported-by: Komuro <komurojun-mbn@nifty.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/rsrc_nonstatic.c