Re: [PATCH] md: avoid warning for 32-bit sector_t

2015-12-15 Thread NeilBrown
On Tue, Nov 24 2015, Arnd Bergmann wrote: > When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which > means we cannot have devices with more than 2TB, and the code that > is trying to handle compatibility support for large devices in > md version 0.90 is meaningless but also causes a

Re: [PATCH] md: avoid warning for 32-bit sector_t

2015-12-15 Thread NeilBrown
On Tue, Nov 24 2015, Arnd Bergmann wrote: > When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which > means we cannot have devices with more than 2TB, and the code that > is trying to handle compatibility support for large devices in > md version 0.90 is meaningless but also causes a

[PATCH] md: avoid warning for 32-bit sector_t

2015-11-23 Thread Arnd Bergmann
When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which means we cannot have devices with more than 2TB, and the code that is trying to handle compatibility support for large devices in md version 0.90 is meaningless but also causes a compile-time warning: drivers/md/md.c: In function

[PATCH] md: avoid warning for 32-bit sector_t

2015-11-23 Thread Arnd Bergmann
When CONFIG_LBDAF is not set, sector_t is only 32-bits wide, which means we cannot have devices with more than 2TB, and the code that is trying to handle compatibility support for large devices in md version 0.90 is meaningless but also causes a compile-time warning: drivers/md/md.c: In function