[PATCH 06/15] ps3flash: Fix region align checks

2011-08-01 Thread Andre Heider
The region fields used by the align checks are set in ps3stor_setup(), so move those after that call. Signed-off-by: Andre Heider a.hei...@gmail.com --- drivers/char/ps3flash.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git

Re: [Cbe-oss-dev] [PATCH 06/15] ps3flash: Fix region align checks

2011-08-01 Thread Geert Uytterhoeven
On Mon, Aug 1, 2011 at 22:02, Andre Heider a.hei...@gmail.com wrote: The region fields used by the align checks are set in ps3stor_setup(), so move those after that call. Are you sure? Aren't they set in arch/powerpc/platforms/ps3/device-init.c:ps3_setup_storage_dev()? Signed-off-by: Andre

Re: [Cbe-oss-dev] [PATCH 06/15] ps3flash: Fix region align checks

2011-08-01 Thread Andre Heider
On Mon, Aug 1, 2011 at 10:29 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Aug 1, 2011 at 22:02, Andre Heider a.hei...@gmail.com wrote: The region fields used by the align checks are set in ps3stor_setup(), so move those after that call. Are you sure? Aren't they set in

Re: [Cbe-oss-dev] [PATCH 06/15] ps3flash: Fix region align checks

2011-08-01 Thread Geert Uytterhoeven
On Mon, Aug 1, 2011 at 22:56, Andre Heider a.hei...@gmail.com wrote: On Mon, Aug 1, 2011 at 10:29 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Aug 1, 2011 at 22:02, Andre Heider a.hei...@gmail.com wrote: The region fields used by the align checks are set in ps3stor_setup(), so